POST api/Service/SaveCommittiee
Request Information
URI Parameters
None.
Body Parameters
Collection of Committee| Name | Description | Type | Additional information |
|---|---|---|---|
| line_code | integer |
None. |
|
| committee_code | integer |
None. |
|
| service_type_code | integer |
None. |
|
| emp_code | integer |
None. |
|
| occupation | integer |
None. |
|
| dep_code | integer |
None. |
|
| active | string |
Matching regular expression pattern: ^[yn]{1}$ String length: inclusive between 0 and 1 |
Request Formats
application/json, text/json
Sample:
[
{
"line_code": 1,
"committee_code": 2,
"service_type_code": 1,
"emp_code": 1,
"occupation": 1,
"dep_code": 1,
"active": "sample string 3"
},
{
"line_code": 1,
"committee_code": 2,
"service_type_code": 1,
"emp_code": 1,
"occupation": 1,
"dep_code": 1,
"active": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfCommittee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
<Committee>
<active>sample string 3</active>
<committee_code>2</committee_code>
<dep_code>1</dep_code>
<emp_code>1</emp_code>
<line_code>1</line_code>
<occupation>1</occupation>
<service_type_code>1</service_type_code>
</Committee>
<Committee>
<active>sample string 3</active>
<committee_code>2</committee_code>
<dep_code>1</dep_code>
<emp_code>1</emp_code>
<line_code>1</line_code>
<occupation>1</occupation>
<service_type_code>1</service_type_code>
</Committee>
</ArrayOfCommittee>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
Collection of Committee| Name | Description | Type | Additional information |
|---|---|---|---|
| line_code | integer |
None. |
|
| committee_code | integer |
None. |
|
| service_type_code | integer |
None. |
|
| emp_code | integer |
None. |
|
| occupation | integer |
None. |
|
| dep_code | integer |
None. |
|
| active | string |
Matching regular expression pattern: ^[yn]{1}$ String length: inclusive between 0 and 1 |
Response Formats
application/json, text/json
Sample:
[
{
"line_code": 1,
"committee_code": 2,
"service_type_code": 1,
"emp_code": 1,
"occupation": 1,
"dep_code": 1,
"active": "sample string 3"
},
{
"line_code": 1,
"committee_code": 2,
"service_type_code": 1,
"emp_code": 1,
"occupation": 1,
"dep_code": 1,
"active": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfCommittee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
<Committee>
<active>sample string 3</active>
<committee_code>2</committee_code>
<dep_code>1</dep_code>
<emp_code>1</emp_code>
<line_code>1</line_code>
<occupation>1</occupation>
<service_type_code>1</service_type_code>
</Committee>
<Committee>
<active>sample string 3</active>
<committee_code>2</committee_code>
<dep_code>1</dep_code>
<emp_code>1</emp_code>
<line_code>1</line_code>
<occupation>1</occupation>
<service_type_code>1</service_type_code>
</Committee>
</ArrayOfCommittee>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.