POST TransportCompany
Request Information
URI Parameters
None.
Body Parameters
TransportCompanyDto| Name | Description | Type | Additional information |
|---|---|---|---|
| TransportCompanyId | integer |
Required Range: inclusive between 0 and 2147483647 |
|
| Title | string |
Required String length: inclusive between 0 and 1000 |
|
| Description | string |
String length: inclusive between 0 and 4000 |
|
| Text | string |
Required |
|
| SeoTitle | string |
String length: inclusive between 0 and 500 |
|
| SeoDescription | string |
String length: inclusive between 0 and 4000 |
|
| Keywords | string |
String length: inclusive between 0 and 4000 |
|
| Price | decimal number |
Required |
|
| LogoUrl | string |
String length: inclusive between 0 and 4000 |
Request Formats
application/json, text/json
Sample:
{
"TransportCompanyId": 1,
"Title": "sample string 2",
"Description": "sample string 3",
"Text": "sample string 4",
"SeoTitle": "sample string 5",
"SeoDescription": "sample string 6",
"Keywords": "sample string 7",
"Price": 8.0,
"LogoUrl": "sample string 9"
}
application/xml, text/xml
Sample:
<TransportCompanyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.Dto"> <Description>sample string 3</Description> <Keywords>sample string 7</Keywords> <LogoUrl>sample string 9</LogoUrl> <Price>8</Price> <SeoDescription>sample string 6</SeoDescription> <SeoTitle>sample string 5</SeoTitle> <Text>sample string 4</Text> <Title>sample string 2</Title> <TransportCompanyId>1</TransportCompanyId> </TransportCompanyDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TransportCompanyDto| Name | Description | Type | Additional information |
|---|---|---|---|
| TransportCompanyId | integer |
Required Range: inclusive between 0 and 2147483647 |
|
| Title | string |
Required String length: inclusive between 0 and 1000 |
|
| Description | string |
String length: inclusive between 0 and 4000 |
|
| Text | string |
Required |
|
| SeoTitle | string |
String length: inclusive between 0 and 500 |
|
| SeoDescription | string |
String length: inclusive between 0 and 4000 |
|
| Keywords | string |
String length: inclusive between 0 and 4000 |
|
| Price | decimal number |
Required |
|
| LogoUrl | string |
String length: inclusive between 0 and 4000 |
Response Formats
application/json, text/json
Sample:
{
"TransportCompanyId": 1,
"Title": "sample string 2",
"Description": "sample string 3",
"Text": "sample string 4",
"SeoTitle": "sample string 5",
"SeoDescription": "sample string 6",
"Keywords": "sample string 7",
"Price": 8.0,
"LogoUrl": "sample string 9"
}
application/xml, text/xml
Sample:
<TransportCompanyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.Dto"> <Description>sample string 3</Description> <Keywords>sample string 7</Keywords> <LogoUrl>sample string 9</LogoUrl> <Price>8</Price> <SeoDescription>sample string 6</SeoDescription> <SeoTitle>sample string 5</SeoTitle> <Text>sample string 4</Text> <Title>sample string 2</Title> <TransportCompanyId>1</TransportCompanyId> </TransportCompanyDto>