POST api/generatecode/code

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-03T00:55:39.8463283+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-02T21:55:39.846Z",
  "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

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.