POST api/AutoCode/Add

Request Information

URI Parameters

None.

Body Parameters

AutoCodeAddDto
NameDescriptionTypeAdditional 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": "439a8428-6748-4118-9b8a-56797e9172cc"
}

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>439a8428-6748-4118-9b8a-56797e9172cc</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":"439a8428-6748-4118-9b8a-56797e9172cc"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.