PUT api/GenBodyCommittee/Update
Request Information
URI Parameters
None.
Body Parameters
GenBodyCommitteeUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| CommitteeId | integer |
Required |
|
| CommitteeName | string |
Required String length: inclusive between 0 and 100 |
|
| Code | string |
String length: inclusive between 0 and 10 |
|
| Company | CompanyLookup |
Required |
|
| GenBodyCommitteeType | GenBodyCommitteeTypeLookup |
Required |
|
| Remarks | string |
String length: inclusive between 0 and 300 |
|
| StartDate | string |
Required |
|
| EndDate | string |
Required |
|
| GenBody | GenBodyLookupVM |
None. |
|
| ParentCommittee | GenBodyCommitteeLookup |
None. |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"CommitteeId": 1,
"CommitteeName": "sample string 2",
"Code": "sample string 3",
"Company": {
"CompanyId": 1,
"CompanyName": "sample string 2"
},
"GenBodyCommitteeType": {
"CommitteeTypeId": 1,
"CommitteeTypeName": "sample string 2"
},
"Remarks": "sample string 4",
"StartDate": "sample string 5",
"EndDate": "sample string 6",
"GenBody": {
"GenBodyId": 1,
"GenBodyDesc": "sample string 2"
},
"ParentCommittee": {
"CommitteeId": 1,
"CommitteeName": "sample string 2",
"StartDate": "sample string 3",
"EndDate": "sample string 4"
},
"Status": "sample string 7",
"UpdateUser": 8,
"UpdateIp": "sample string 9"
}
application/xml, text/xml
Sample:
<GenBodyCommitteeUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<Code>sample string 3</Code>
<CommitteeId>1</CommitteeId>
<CommitteeName>sample string 2</CommitteeName>
<Company>
<CompanyId>1</CompanyId>
<CompanyName>sample string 2</CompanyName>
</Company>
<EndDate>sample string 6</EndDate>
<GenBody>
<GenBodyDesc>sample string 2</GenBodyDesc>
<GenBodyId>1</GenBodyId>
</GenBody>
<GenBodyCommitteeType>
<CommitteeTypeId>1</CommitteeTypeId>
<CommitteeTypeName>sample string 2</CommitteeTypeName>
</GenBodyCommitteeType>
<ParentCommittee>
<CommitteeId>1</CommitteeId>
<CommitteeName>sample string 2</CommitteeName>
<EndDate>sample string 4</EndDate>
<StartDate>sample string 3</StartDate>
</ParentCommittee>
<Remarks>sample string 4</Remarks>
<StartDate>sample string 5</StartDate>
<Status>sample string 7</Status>
<UpdateIp>sample string 9</UpdateIp>
<UpdateUser>8</UpdateUser>
</GenBodyCommitteeUpdate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.