POST api/quotations/postPrincipleDocument
Request Information
URI Parameters
None.
Body Parameters
m__Principledocument| Name | Description | Type | Additional information |
|---|---|---|---|
| principleDocId | integer |
None. |
|
| subject | string |
String length: inclusive between 0 and 500 |
|
| sendTo | string |
String length: inclusive between 0 and 500 |
|
| nameItem | string |
String length: inclusive between 0 and 500 |
|
| listItem | string |
None. |
|
| timePeriod | string |
String length: inclusive between 0 and 250 |
|
| branch | string |
String length: inclusive between 0 and 250 |
|
| area | string |
String length: inclusive between 0 and 250 |
|
| GP | string |
String length: inclusive between 0 and 250 |
|
| remark | string |
String length: inclusive between 0 and 250 |
|
| cust_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"principleDocId": 1,
"subject": "sample string 1",
"sendTo": "sample string 2",
"nameItem": "sample string 3",
"listItem": "sample string 4",
"timePeriod": "sample string 5",
"branch": "sample string 6",
"area": "sample string 7",
"GP": "sample string 8",
"remark": "sample string 9",
"cust_id": 1
}
application/xml, text/xml
Sample:
<m__Principledocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.MKTH"> <GP>sample string 8</GP> <area>sample string 7</area> <branch>sample string 6</branch> <cust_id>1</cust_id> <listItem>sample string 4</listItem> <nameItem>sample string 3</nameItem> <principleDocId>1</principleDocId> <remark>sample string 9</remark> <sendTo>sample string 2</sendTo> <subject>sample string 1</subject> <timePeriod>sample string 5</timePeriod> </m__Principledocument>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.