POST api/Couriers/Insert
Request Information
URI Parameters
None.
Body Parameters
CourierDtoInName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
Max length: 40 |
|
Active | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "name": "sample string 2", "active": 3 }
text/html
Sample:
{"id":1,"name":"sample string 2","active":3}
application/xml, text/xml
Sample:
<CourierDtoIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveryTrackingSystem.Common.Dtos.Dto.Couriers"> <Active>3</Active> <Id>1</Id> <Name>sample string 2</Name> </CourierDtoIn>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.