POST api/forb2b/apply-schema

Request Information

URI Parameters

None.

Body Parameters

ApplyOfferRequest
NameDescriptionTypeAdditional information
Qty

integer

None.

GrandQty

integer

None.

CustomerId

string

None.

VRPAmount

decimal number

None.

P2PAmount

decimal number

None.

BundleAmount

decimal number

None.

GradingStockAmount

decimal number

None.

GrandPayableAmount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Qty": 1,
  "GrandQty": 2,
  "CustomerId": "sample string 3",
  "VRPAmount": 4.0,
  "P2PAmount": 5.0,
  "BundleAmount": 6.0,
  "GradingStockAmount": 7.0,
  "GrandPayableAmount": 8.0
}

application/xml, text/xml

Sample:
<ApplyOfferRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/fonofy_api.Model">
  <BundleAmount>6</BundleAmount>
  <CustomerId>sample string 3</CustomerId>
  <GradingStockAmount>7</GradingStockAmount>
  <GrandPayableAmount>8</GrandPayableAmount>
  <GrandQty>2</GrandQty>
  <P2PAmount>5</P2PAmount>
  <Qty>1</Qty>
  <VRPAmount>4</VRPAmount>
</ApplyOfferRequest>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.