POST api/CompanyBorrower/v1/GetPurchaseInvoiceFundingContractStatus

Request Information

URI Parameters

None.

Body Parameters

GetPurchaseInvoiceFundingContractStatusRequest
NameDescriptionTypeAdditional information
contractId

globally unique identifier

None.

OrganizationCode

string

None.

UserName

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "contractId": "11e526f1-8b27-461b-9ea3-7d28426bd4b2",
  "OrganizationCode": "sample string 2",
  "UserName": "sample string 3",
  "Password": "sample string 4"
}

application/xml, text/xml

Sample:
<GetPurchaseInvoiceFundingContractStatusRequest 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>
  <contractId>11e526f1-8b27-461b-9ea3-7d28426bd4b2</contractId>
</GetPurchaseInvoiceFundingContractStatusRequest>

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 'GetPurchaseInvoiceFundingContractStatusRequest'.

Response Information

Resource Description

GetPurchaseInvoiceFundingContractStatusReply
NameDescriptionTypeAdditional information
Reply

PurchaseInvoiceFundingContractStatus

None.

Ok

boolean

None.

ErrorMessage

string

None.

ErrorCode

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Reply": {
    "ContractId": "7c862d1c-c3f0-4a97-b5e9-17f6dff8065e",
    "IsApproved": true,
    "RejectionReasonMessage": "sample string 3",
    "RejectionReasonCode": "sample string 4",
    "SignatureTime": "2025-05-02T05:49:02.3566905+00:00",
    "CreditLimit": 5.0,
    "OpenCreditLimit": 6.0
  },
  "Ok": true,
  "ErrorMessage": "sample string 2",
  "ErrorCode": "sample string 3",
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<GetPurchaseInvoiceFundingContractStatusReply 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>
    <ContractId>7c862d1c-c3f0-4a97-b5e9-17f6dff8065e</ContractId>
    <CreditLimit>5</CreditLimit>
    <IsApproved>true</IsApproved>
    <OpenCreditLimit>6</OpenCreditLimit>
    <RejectionReasonCode>sample string 4</RejectionReasonCode>
    <RejectionReasonMessage>sample string 3</RejectionReasonMessage>
    <SignatureTime>2025-05-02T05:49:02.3566905+00:00</SignatureTime>
  </Reply>
</GetPurchaseInvoiceFundingContractStatusReply>