POST api/generatecode/print

Request Information

URI Parameters

None.

Body Parameters

InputObj
NameDescriptionTypeAdditional information
DocLang

integer

None.

OwnerCode

string

None.

OwnerName

string

None.

DocTypeNO

integer

None.

IsExpired

boolean

None.

ExpiredDate

date

None.

Document

Dictionary of string [key] and string [value]

None.

Request Formats

application/xml, text/xml

Sample:
<InputObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCT.VerifyDoc.API.Controllers">
  <DocLang>1</DocLang>
  <DocTypeNO>4</DocTypeNO>
  <Document xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Document>
  <ExpiredDate>2025-06-03T01:03:36.5633004+03:00</ExpiredDate>
  <IsExpired>true</IsExpired>
  <OwnerCode>sample string 2</OwnerCode>
  <OwnerName>sample string 3</OwnerName>
</InputObj>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "ExpiredDate": "2025-06-02T22:03:36.563Z",
  "IsExpired": true,
  "DocTypeNO": 4,
  "DocLang": 1,
  "Document": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "OwnerName": "sample string 3",
  "OwnerCode": "sample string 2"
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.