POST api/OndutyBanciConfig/AddOndutyBanciConfigSubmit

Request Information

URI Parameters

None.

Body Parameters

OndutyBanciConfigDTO
NameDescriptionTypeAdditional information
staffId

integer

None.

type

string

None.

portsId

integer

None.

OndutyBanCiId

integer

None.

OndutyTeamsId

integer

None.

OndutyBanCiNum

integer

None.

OndutyBanCiFenPeiNum

integer

None.

Org2code

string

None.

OrgName

string

None.

Id

integer

None.

CreateBy

创建人

string

None.

CreateTime

创建时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "staffId": 1,
  "type": "sample string 1",
  "portsId": 1,
  "OndutyBanCiId": 1,
  "OndutyTeamsId": 1,
  "OndutyBanCiNum": 1,
  "OndutyBanCiFenPeiNum": 1,
  "Org2code": "sample string 2",
  "OrgName": "sample string 3",
  "Id": 4,
  "CreateBy": "sample string 6",
  "CreateTime": "2019-05-24T14:49:54.9799138+08:00"
}

application/xml, text/xml

Sample:
<OndutyBanciConfigDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreateBy>sample string 6</CreateBy>
  <CreateId>1</CreateId>
  <CreateTime>2019-05-24T14:49:54.9799138+08:00</CreateTime>
  <Id>4</Id>
  <IsObsoleted>true</IsObsoleted>
  <ModifyBy>sample string 5</ModifyBy>
  <ModifyId>1</ModifyId>
  <ModifyTime>2019-05-24T14:49:54.9799138+08:00</ModifyTime>
  <OndutyBanCiFenPeiNum>1</OndutyBanCiFenPeiNum>
  <OndutyBanCiId>1</OndutyBanCiId>
  <OndutyBanCiNum>1</OndutyBanCiNum>
  <OndutyTeamsId>1</OndutyTeamsId>
  <Org2code>sample string 2</Org2code>
  <OrgName>sample string 3</OrgName>
  <portsId>1</portsId>
  <staffId>1</staffId>
  <type>sample string 1</type>
</OndutyBanciConfigDTO>

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 'OndutyBanciConfigDTO'.

Response Information

Resource Description

StatusDTO
NameDescriptionTypeAdditional information
Status

状态

integer

None.

StatusMessage

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "StatusMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Status>1</Status>
  <StatusMessage>sample string 1</StatusMessage>
</StatusDTO>