POST api/cert/Generate
Request Information
URI Parameters
None.
Body Parameters
GenCertRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OTP | string |
Required |
|
| VATNumber | string |
Required |
|
| CommonName | string |
Required |
|
| ESGSerialNo | string |
Required |
|
| OrgName | string |
Required |
|
| OrgUnitName | string |
Required |
|
| Country | string |
Required |
|
| InvoiceType | string |
Required |
|
| Location | string |
Required |
|
| Industry | string |
Required |
|
| IsSandBox | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"OTP": "sample string 1",
"VATNumber": "sample string 2",
"CommonName": "sample string 3",
"ESGSerialNo": "sample string 4",
"OrgName": "sample string 5",
"OrgUnitName": "sample string 6",
"Country": "sample string 7",
"InvoiceType": "sample string 8",
"Location": "sample string 9",
"Industry": "sample string 10",
"IsSandBox": true
}
application/xml, text/xml
Sample:
<GenCertRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KSAEInvoiceDataService.EInvKSA.Entity.CSRRequestResponse"> <CommonName>sample string 3</CommonName> <Country>sample string 7</Country> <ESGSerialNo>sample string 4</ESGSerialNo> <Industry>sample string 10</Industry> <InvoiceType>sample string 8</InvoiceType> <IsSandBox>true</IsSandBox> <Location>sample string 9</Location> <OTP>sample string 1</OTP> <OrgName>sample string 5</OrgName> <OrgUnitName>sample string 6</OrgUnitName> <VATNumber>sample string 2</VATNumber> </GenCertRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |