POST api/PKGContract/PKGGetPRMCodePrice
Request Information
URI Parameters
None.
Body Parameters
PKGGetPRMCodeDtoIn| Name | Description | Type | Additional information |
|---|---|---|---|
| Shipto | string |
None. |
|
| contractId | string |
None. |
|
| matchCode | Collection of MatchPRMCodeModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Shipto": "sample string 1",
"contractId": "sample string 2",
"matchCode": [
{
"EffectDate": "2025-12-10T08:47:30.4529491+08:00",
"ExpiredDate": "2025-12-10T08:47:30.4529491+08:00",
"Price": 3.0,
"PRMCode": "sample string 4"
},
{
"EffectDate": "2025-12-10T08:47:30.4529491+08:00",
"ExpiredDate": "2025-12-10T08:47:30.4529491+08:00",
"Price": 3.0,
"PRMCode": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<PKGGetPRMCodeDtoIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Net.MSCrm.Model">
<Shipto>sample string 1</Shipto>
<contractId>sample string 2</contractId>
<matchCode>
<MatchPRMCodeModel>
<EffectDate>2025-12-10T08:47:30.4529491+08:00</EffectDate>
<ExpiredDate>2025-12-10T08:47:30.4529491+08:00</ExpiredDate>
<PRMCode>sample string 4</PRMCode>
<Price>3</Price>
</MatchPRMCodeModel>
<MatchPRMCodeModel>
<EffectDate>2025-12-10T08:47:30.4529491+08:00</EffectDate>
<ExpiredDate>2025-12-10T08:47:30.4529491+08:00</ExpiredDate>
<PRMCode>sample string 4</PRMCode>
<Price>3</Price>
</MatchPRMCodeModel>
</matchCode>
</PKGGetPRMCodeDtoIn>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResult| Name | Description | Type | Additional 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>