POST api/AssemblyCommittee/Save

Request Information

URI Parameters

None.

Body Parameters

AssemblyCommitteeSave
NameDescriptionTypeAdditional information
BookId

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

AssemblyCommitteeTypeLookup

Required

Remarks

string

String length: inclusive between 0 and 300

StartDate

string

Required

EndDate

string

Required

Assembly

AssemblyLookup

None.

ParentCommittee

AssemblyCommitteeLookup

None.

Status

string

Required

Matching regular expression pattern: A|I

CreateUser

integer

Required

CreateIp

string

Required

String length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "BookId": 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",
  "Assembly": {
    "AssemblyId": 1,
    "AssemblyDesc": "sample string 2"
  },
  "ParentCommittee": {
    "CommitteeId": 1,
    "CommitteeName": "sample string 2",
    "StartDate": "sample string 3",
    "EndDate": "sample string 4"
  },
  "Status": "sample string 7",
  "CreateUser": 8,
  "CreateIp": "sample string 9"
}

application/xml, text/xml

Sample:
<AssemblyCommitteeSave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <Assembly>
    <AssemblyDesc>sample string 2</AssemblyDesc>
    <AssemblyId>1</AssemblyId>
  </Assembly>
  <BookId>1</BookId>
  <Code>sample string 3</Code>
  <CommitteeName>sample string 2</CommitteeName>
  <Company>
    <CompanyId>1</CompanyId>
    <CompanyName>sample string 2</CompanyName>
  </Company>
  <CreateIp>sample string 9</CreateIp>
  <CreateUser>8</CreateUser>
  <EndDate>sample string 6</EndDate>
  <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>
</AssemblyCommitteeSave>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.