POST api/CompanyBorrower/v1/GetPurhaseInvoiceFundingOffer
Request Information
URI Parameters
None.
Body Parameters
GetPurhaseInvoiceFundingOfferRequest| Name | Description | Type | Additional 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": "963a8abd-59c7-41a3-8a31-e86d5b49cff7",
"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>963a8abd-59c7-41a3-8a31-e86d5b49cff7</contractId> </GetPurhaseInvoiceFundingOfferRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetPurhaseInvoiceFundingOfferReply| Name | Description | Type | Additional 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": "463e38d7-6dcd-4133-b602-0ec97e961bc6",
"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>463e38d7-6dcd-4133-b602-0ec97e961bc6</ContractId>
<OfferRows />
</Reply>
</GetPurhaseInvoiceFundingOfferReply>