POST api/PKGContract/PKGGetMPGCodePrice

Request Information

URI Parameters

None.

Body Parameters

PKGGetMPGCodeDtoIn
NameDescriptionTypeAdditional information
Shipto

string

None.

matchCode

Collection of MatchMPGCodeModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Shipto": "sample string 1",
  "matchCode": [
    {
      "Code": "sample string 1",
      "Price": 2.0,
      "freighttype": "sample string 3"
    },
    {
      "Code": "sample string 1",
      "Price": 2.0,
      "freighttype": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<PKGGetMPGCodeDtoIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Net.MSCrm.Model">
  <Shipto>sample string 1</Shipto>
  <matchCode>
    <MatchMPGCodeModel>
      <Code>sample string 1</Code>
      <Price>2</Price>
      <freighttype>sample string 3</freighttype>
    </MatchMPGCodeModel>
    <MatchMPGCodeModel>
      <Code>sample string 1</Code>
      <Price>2</Price>
      <freighttype>sample string 3</freighttype>
    </MatchMPGCodeModel>
  </matchCode>
</PKGGetMPGCodeDtoIn>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResult
NameDescriptionTypeAdditional information
Status

boolean

None.

Code

string

None.

Message

string

None.

Data

Object

None.

Length

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Code": "sample string 2",
  "Message": "sample string 3",
  "Data": {},
  "Length": 5
}

application/xml, text/xml

Sample:
<HttpResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Net.MSCrm.Model">
  <Code>sample string 2</Code>
  <Data />
  <Length>5</Length>
  <Message>sample string 3</Message>
  <Status>true</Status>
</HttpResult>