POST Feedback/DryCleaningFilm
Request Information
URI Parameters
None.
Body Parameters
DryCleaningFilmFeedbackDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Product | string |
Required String length: inclusive between 0 and 1000 |
|
| Count | integer |
Required |
|
| Name | string |
Required String length: inclusive between 0 and 1000 |
|
| string |
String length: inclusive between 0 and 100 |
||
| Phone | string |
String length: inclusive between 0 and 100 |
|
| Comment | string |
String length: inclusive between 0 and 1000 |
|
| Delivery | string |
String length: inclusive between 0 and 1000 |
Request Formats
application/json, text/json
Sample:
{
"Product": "sample string 1",
"Count": 2,
"Name": "sample string 3",
"Email": "sample string 4",
"Phone": "sample string 5",
"Comment": "sample string 6",
"Delivery": "sample string 7"
}
application/xml, text/xml
Sample:
<DryCleaningFilmFeedbackDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.Dto"> <Comment>sample string 6</Comment> <Delivery>sample string 7</Delivery> <Email>sample string 4</Email> <Name>sample string 3</Name> <Phone>sample string 5</Phone> <Count>2</Count> <Product>sample string 1</Product> </DryCleaningFilmFeedbackDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OrderDto| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
Required String length: inclusive between 0 and 128 |
|
| TransportCompanyId | integer |
None. |
|
| DelivaryAddress | string |
String length: inclusive between 0 and 4000 |
|
| UserDescription | string |
String length: inclusive between 0 and 4000 |
|
| Comments | string |
None. |
|
| OrderItems | Collection of OrderItemDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"TransportCompanyId": 2,
"DelivaryAddress": "sample string 3",
"UserDescription": "sample string 4",
"Comments": "sample string 5",
"OrderItems": [
{
"Quantity": 1,
"ColorId": 2,
"ProductId": 3
},
{
"Quantity": 1,
"ColorId": 2,
"ProductId": 3
}
]
}
application/xml, text/xml
Sample:
<OrderDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.Dto">
<Comments>sample string 5</Comments>
<DelivaryAddress>sample string 3</DelivaryAddress>
<OrderItems>
<OrderItemDto>
<ColorId>2</ColorId>
<ProductId>3</ProductId>
<Quantity>1</Quantity>
</OrderItemDto>
<OrderItemDto>
<ColorId>2</ColorId>
<ProductId>3</ProductId>
<Quantity>1</Quantity>
</OrderItemDto>
</OrderItems>
<TransportCompanyId>2</TransportCompanyId>
<UserDescription>sample string 4</UserDescription>
<UserId>sample string 1</UserId>
</OrderDto>