POST api/TransportType/CRUD
Add/Update/Delete TransportTypes
Request Information
URI Parameters
None.
Body Parameters
String Array of TransportTypes And Information(Mandatory)
Collection of TransportTypeInfoName | Description | Type | Additional information |
---|---|---|---|
TransportTypeId | integer |
None. |
|
TransportTypeName | string |
None. |
|
IsActive | boolean |
None. |
|
Deleted | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "TransportTypeId": 1, "TransportTypeName": "sample string 2", "IsActive": true, "Deleted": 1 }, { "TransportTypeId": 1, "TransportTypeName": "sample string 2", "IsActive": true, "Deleted": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfTransportTypeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1"> <TransportTypeInfo> <Deleted>1</Deleted> <IsActive>true</IsActive> <TransportTypeId>1</TransportTypeId> <TransportTypeName>sample string 2</TransportTypeName> </TransportTypeInfo> <TransportTypeInfo> <Deleted>1</Deleted> <IsActive>true</IsActive> <TransportTypeId>1</TransportTypeId> <TransportTypeName>sample string 2</TransportTypeName> </TransportTypeInfo> </ArrayOfTransportTypeInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>