POST api/Public/GetInvoiceByUuid

Request Information

URI Parameters

None.

Body Parameters

GetTerminalInvoiceByUuidRequest
NameDescriptionTypeAdditional information
InvoiceUuid

string

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoiceUuid": "sample string 1",
  "Token": "sample string 2"
}

application/xml, text/xml

Sample:
<GetTerminalInvoiceByUuidRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Invoice">
  <Token xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 2</Token>
  <InvoiceUuid>sample string 1</InvoiceUuid>
</GetTerminalInvoiceByUuidRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetTerminalInvoiceByUuidResponse
NameDescriptionTypeAdditional information
InvoiceUuid

string

None.

InvoiceId

string

None.

InvoiceStatusId

integer

None.

InvoiceStatus

string

None.

IntegratorName

string

None.

Date

date

None.

ErrorCode

string

None.

ErrorMessage

string

None.

ErrorCategory

string

None.

Result

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "InvoiceUuid": "sample string 1",
  "InvoiceId": "sample string 2",
  "InvoiceStatusId": 3,
  "InvoiceStatus": "sample string 4",
  "IntegratorName": "sample string 5",
  "Date": "2025-01-30T17:43:49.4582206+03:00",
  "ErrorCode": "sample string 7",
  "ErrorMessage": "sample string 8",
  "ErrorCategory": "sample string 9",
  "Result": true
}

application/xml, text/xml

Sample:
<GetTerminalInvoiceByUuidResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Invoice">
  <ErrorCategory xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 9</ErrorCategory>
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 7</ErrorCode>
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 8</ErrorMessage>
  <Result xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">true</Result>
  <Date>2025-01-30T17:43:49.4582206+03:00</Date>
  <IntegratorName>sample string 5</IntegratorName>
  <InvoiceId>sample string 2</InvoiceId>
  <InvoiceStatus>sample string 4</InvoiceStatus>
  <InvoiceStatusId>3</InvoiceStatusId>
  <InvoiceUuid>sample string 1</InvoiceUuid>
</GetTerminalInvoiceByUuidResponse>