POST api/Service/SaveCommittiee

Request Information

URI Parameters

None.

Body Parameters

Collection of Committee
NameDescriptionTypeAdditional information
line_code

integer

None.

committee_code

integer

None.

service_type_code

integer

None.

emp_code

integer

None.

occupation

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,
    "active": "sample string 3"
  },
  {
    "line_code": 1,
    "committee_code": 2,
    "service_type_code": 1,
    "emp_code": 1,
    "occupation": 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>
    <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>
    <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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Collection of Committee
NameDescriptionTypeAdditional information
line_code

integer

None.

committee_code

integer

None.

service_type_code

integer

None.

emp_code

integer

None.

occupation

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,
    "active": "sample string 3"
  },
  {
    "line_code": 1,
    "committee_code": 2,
    "service_type_code": 1,
    "emp_code": 1,
    "occupation": 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>
    <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>
    <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.