POST api/GTI/IsPaid

Request Information

URI Parameters

None.

Body Parameters

GTIInvoiceStatusRequestModel
NameDescriptionTypeAdditional information
InvoiceID

integer

None.

APIKey

string

None.

Consecutivo

string

None.

Type

string

None.

AddedBy

integer

None.

GTIId

integer

None.

Request Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "invoiceID": 1,
  "apiKey": "sample string 2",
  "consecutivo": "sample string 3",
  "type": "sample string 4",
  "addedBy": 5,
  "gtiId": 6
}

application/xml, text/xml

Sample:
<GTIInvoiceStatusRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel">
  <APIKey>sample string 2</APIKey>
  <AddedBy>5</AddedBy>
  <Consecutivo>sample string 3</Consecutivo>
  <GTIId>6</GTIId>
  <InvoiceID>1</InvoiceID>
  <Type>sample string 4</Type>
</GTIInvoiceStatusRequestModel>

multipart/form-data

Sample:
<GTIInvoiceStatusRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel"><APIKey>sample string 2</APIKey><AddedBy>5</AddedBy><Consecutivo>sample string 3</Consecutivo><GTIId>6</GTIId><InvoiceID>1</InvoiceID><Type>sample string 4</Type></GTIInvoiceStatusRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GTIStatusResponse
NameDescriptionTypeAdditional information
Codigo

string

None.

Respuesta

string

None.

Detalle

string

None.

Type

string

None.

Error

string

None.

NumComprobante

string

None.

InvoiceID

integer

None.

AddedBy

integer

None.

GTIid

integer

None.

ReturnID

integer

Required

Message

string

Required

Successful

boolean

Required

Code

integer

None.

TotalRecord

integer

None.

Response Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "codigo": "sample string 1",
  "respuesta": "sample string 2",
  "detalle": "sample string 3",
  "type": "sample string 4",
  "error": "sample string 5",
  "numComprobante": "sample string 6",
  "invoiceID": 7,
  "addedBy": 8,
  "gtIid": 9,
  "returnID": 10,
  "message": "sample string 11",
  "successful": true,
  "code": 13,
  "totalRecord": 14
}

application/xml, text/xml

Sample:
<GTIStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel">
  <Code xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">13</Code>
  <Message xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">sample string 11</Message>
  <ReturnID xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">10</ReturnID>
  <Successful xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">true</Successful>
  <TotalRecord xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">14</TotalRecord>
  <AddedBy>8</AddedBy>
  <Codigo>sample string 1</Codigo>
  <Detalle>sample string 3</Detalle>
  <Error>sample string 5</Error>
  <GTIid>9</GTIid>
  <InvoiceID>7</InvoiceID>
  <NumComprobante>sample string 6</NumComprobante>
  <Respuesta>sample string 2</Respuesta>
  <Type>sample string 4</Type>
</GTIStatusResponse>

multipart/form-data

Sample:
<GTIStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"><Code xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">13</Code><Message xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">sample string 11</Message><ReturnID xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">10</ReturnID><Successful xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">true</Successful><TotalRecord xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">14</TotalRecord><AddedBy>8</AddedBy><Codigo>sample string 1</Codigo><Detalle>sample string 3</Detalle><Error>sample string 5</Error><GTIid>9</GTIid><InvoiceID>7</InvoiceID><NumComprobante>sample string 6</NumComprobante><Respuesta>sample string 2</Respuesta><Type>sample string 4</Type></GTIStatusResponse>