POST api/AutoCode/Add
Request Information
URI Parameters
None.
Body Parameters
AutoCodeAddDtoName | Description | Type | Additional information |
---|---|---|---|
ScreenCode | string |
Required Max length: 5 |
|
CodeFormat | string |
Required Max length: 13 |
|
LastCodeNumber | string |
None. |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "screenCode": "sample string 1", "codeFormat": "sample string 2", "lastCodeNumber": "sample string 3", "companyID": "fb40312d-66a8-468e-928c-c2b2086a7db0" }
application/xml, text/xml
Sample:
<AutoCodeAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CodeFormat>sample string 2</CodeFormat> <CompanyID>fb40312d-66a8-468e-928c-c2b2086a7db0</CompanyID> <LastCodeNumber>sample string 3</LastCodeNumber> <ScreenCode>sample string 1</ScreenCode> </AutoCodeAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"screenCode":"sample string 1","codeFormat":"sample string 2","lastCodeNumber":"sample string 3","companyID":"fb40312d-66a8-468e-928c-c2b2086a7db0"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.