POST api/CompanyBorrower/v1/GetPurhaseInvoiceFundingOffer

Request Information

URI Parameters

None.

Body Parameters

GetPurhaseInvoiceFundingOfferRequest
NameDescriptionTypeAdditional information
bic

string

None.

contractId

globally unique identifier

None.

amount

decimal number

None.

OrganizationCode

string

None.

UserName

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "bic": "sample string 1",
  "contractId": "4295863e-5cdc-47cb-90ca-28fe10aef760",
  "amount": 2.0,
  "OrganizationCode": "sample string 3",
  "UserName": "sample string 4",
  "Password": "sample string 5"
}

application/xml, text/xml

Sample:
<GetPurhaseInvoiceFundingOfferRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">
  <OrganizationCode>sample string 3</OrganizationCode>
  <Password>sample string 5</Password>
  <UserName>sample string 4</UserName>
  <amount>2</amount>
  <bic>sample string 1</bic>
  <contractId>4295863e-5cdc-47cb-90ca-28fe10aef760</contractId>
</GetPurhaseInvoiceFundingOfferRequest>

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

Response Information

Resource Description

GetPurhaseInvoiceFundingOfferReply
NameDescriptionTypeAdditional information
Reply

PurchaseInvoiceFundingOffer

None.

Ok

boolean

None.

ErrorMessage

string

None.

ErrorCode

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Reply": {
    "ContractId": "b53cdcf7-e37f-4bc0-b889-ab300028b3b9",
    "OfferRows": []
  },
  "Ok": true,
  "ErrorMessage": "sample string 2",
  "ErrorCode": "sample string 3",
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<GetPurhaseInvoiceFundingOfferReply 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>b53cdcf7-e37f-4bc0-b889-ab300028b3b9</ContractId>
    <OfferRows />
  </Reply>
</GetPurhaseInvoiceFundingOfferReply>