POST jxc_api/AssistData/AddBusinessType

Request Information

URI Parameters

None.

Body Parameters

BusinessTypeEditModel
NameDescriptionTypeAdditional information
TypeId

integer

None.

TypeNo

string

None.

TypeName

string

None.

Direction

BusinessTypeDirectionEnums

None.

Request Formats

application/json, text/json

Sample:
{
  "TypeId": 1,
  "TypeNo": "sample string 2",
  "TypeName": "sample string 3",
  "Direction": 1001
}

application/xml, text/xml

Sample:
<BusinessTypeEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
  <Direction>入库类型</Direction>
  <TypeId>1</TypeId>
  <TypeName>sample string 3</TypeName>
  <TypeNo>sample string 2</TypeNo>
</BusinessTypeEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>