POST api/CorporateAccount/GetCorporatePaymentCondition
Request Information
URI Parameters
None.
Body Parameters
GetCorporatePaymentConditionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | globally unique identifier |
None. |
|
| BillingAddressId | globally unique identifier |
None. |
|
| ShippingAddressId | globally unique identifier |
None. |
|
| CartTotalPrice | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": "facfd8e8-e726-46e6-825f-14f31be310fe",
"BillingAddressId": "fa9055ba-7248-4775-b353-9a85cb59dbc3",
"ShippingAddressId": "9653d34b-7a31-46d7-8f72-425f6d24e6e2",
"CartTotalPrice": 4.0
}
application/xml, text/xml
Sample:
<GetCorporatePaymentConditionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request"> <BillingAddressId>fa9055ba-7248-4775-b353-9a85cb59dbc3</BillingAddressId> <CartTotalPrice>4</CartTotalPrice> <CustomerId>facfd8e8-e726-46e6-825f-14f31be310fe</CustomerId> <ShippingAddressId>9653d34b-7a31-46d7-8f72-425f6d24e6e2</ShippingAddressId> </GetCorporatePaymentConditionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetCorporatePaymentConditionResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsAvailable | boolean |
None. |
|
| IsMpBuyingAllowed | boolean |
None. |
|
| MessageList | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsAvailable": true,
"IsMpBuyingAllowed": true,
"MessageList": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<GetCorporatePaymentConditionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response">
<IsAvailable>true</IsAvailable>
<IsMpBuyingAllowed>true</IsMpBuyingAllowed>
<MessageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</MessageList>
</GetCorporatePaymentConditionResponse>