POST api/TransporterTypes/Update
Request Information
URI Parameters
None.
Body Parameters
TransporterTypesUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
TaxNumber | string |
None. |
|
Title | string |
None. |
|
TaxOffice | string |
None. |
|
Address | string |
None. |
|
IsDefault | boolean |
None. |
|
ID | globally unique identifier |
Required |
|
CompanyID | globally unique identifier |
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", "isDefault": true, "id": "ac137bba-cb7b-48af-9a1d-9edf6e1994de", "companyID": "b0c056c6-e42a-4390-b8e2-317923828363" }
application/xml, text/xml
Sample:
<TransporterTypesUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs.TransporterTypes"> <CompanyID xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">b0c056c6-e42a-4390-b8e2-317923828363</CompanyID> <ID xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">ac137bba-cb7b-48af-9a1d-9edf6e1994de</ID> <Address>sample string 5</Address> <IsDefault>true</IsDefault> <Name>sample string 1</Name> <TaxNumber>sample string 2</TaxNumber> <TaxOffice>sample string 4</TaxOffice> <Title>sample string 3</Title> </TransporterTypesUpdateDto>
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","isDefault":true,"id":"ac137bba-cb7b-48af-9a1d-9edf6e1994de","companyID":"b0c056c6-e42a-4390-b8e2-317923828363"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.