POST api/CompanyBorrower/v1/GetPurchaseInvoiceFundingInvoiceStatusWithExternalInvoiceNumber

Request Information

URI Parameters

None.

Body Parameters

GetPurchaseInvoiceFundingInvoiceStatusWithExternalInvoiceNumberRequest
NameDescriptionTypeAdditional information
externalInvoiceNumber

string

None.

OrganizationCode

string

None.

UserName

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "externalInvoiceNumber": "sample string 1",
  "OrganizationCode": "sample string 2",
  "UserName": "sample string 3",
  "Password": "sample string 4"
}

application/xml, text/xml

Sample:
<GetPurchaseInvoiceFundingInvoiceStatusWithExternalInvoiceNumberRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">
  <OrganizationCode>sample string 2</OrganizationCode>
  <Password>sample string 4</Password>
  <UserName>sample string 3</UserName>
  <externalInvoiceNumber>sample string 1</externalInvoiceNumber>
</GetPurchaseInvoiceFundingInvoiceStatusWithExternalInvoiceNumberRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetPurchaseInvoiceFundingInvoiceStatusWithExternalInvoiceNumberRequest'.

Response Information

Resource Description

GetPurchaseInvoiceFundingInvoiceStatusWithExternalInvoiceNumberReply
NameDescriptionTypeAdditional information
Reply

PurchaseInvoiceFundingInvoiceStatus

None.

Ok

boolean

None.

ErrorMessage

string

None.

ErrorCode

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Reply": {
    "InvoiceId": "fe95a123-b8eb-4cf8-9083-9d3d9f85f50a",
    "IsApproved": true,
    "RejectionReasonMessage": "sample string 3",
    "RejectionReasonCode": "sample string 4",
    "DisbursementTime": "2025-05-01T03:16:30.7811303+00:00"
  },
  "Ok": true,
  "ErrorMessage": "sample string 2",
  "ErrorCode": "sample string 3",
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<GetPurchaseInvoiceFundingInvoiceStatusWithExternalInvoiceNumberReply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">
  <ErrorCode>sample string 3</ErrorCode>
  <ErrorMessage>sample string 2</ErrorMessage>
  <Message>sample string 4</Message>
  <Ok>true</Ok>
  <Reply>
    <DisbursementTime>2025-05-01T03:16:30.7811303+00:00</DisbursementTime>
    <InvoiceId>fe95a123-b8eb-4cf8-9083-9d3d9f85f50a</InvoiceId>
    <IsApproved>true</IsApproved>
    <RejectionReasonCode>sample string 4</RejectionReasonCode>
    <RejectionReasonMessage>sample string 3</RejectionReasonMessage>
  </Reply>
</GetPurchaseInvoiceFundingInvoiceStatusWithExternalInvoiceNumberReply>