POST api/TransporterTypes/Add

Request Information

URI Parameters

None.

Body Parameters

TransporterTypesAddDto
NameDescriptionTypeAdditional information
Name

string

None.

TaxNumber

string

None.

Title

string

None.

TaxOffice

string

None.

Address

string

None.

CompanyID

globally unique identifier

None.

IsDefault

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "taxNumber": "sample string 2",
  "title": "sample string 3",
  "taxOffice": "sample string 4",
  "address": "sample string 5",
  "companyID": "46c1c393-8fc9-47ac-b33d-cd4e5f8a3c08",
  "isDefault": true
}

application/xml, text/xml

Sample:
<TransporterTypesAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs.TransporterTypes">
  <Address>sample string 5</Address>
  <CompanyID>46c1c393-8fc9-47ac-b33d-cd4e5f8a3c08</CompanyID>
  <IsDefault>true</IsDefault>
  <Name>sample string 1</Name>
  <TaxNumber>sample string 2</TaxNumber>
  <TaxOffice>sample string 4</TaxOffice>
  <Title>sample string 3</Title>
</TransporterTypesAddDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"name":"sample string 1","taxNumber":"sample string 2","title":"sample string 3","taxOffice":"sample string 4","address":"sample string 5","companyID":"46c1c393-8fc9-47ac-b33d-cd4e5f8a3c08","isDefault":true}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.