POST AddUserUnit

Request Information

URI Parameters

None.

Body Parameters

UserUnitDTO
NameDescriptionTypeAdditional information
CustomerNo

string

None.

UnitName

string

None.

Telephone

string

None.

Adress

string

None.

ProvinceCode

integer

None.

CityCode

integer

None.

AreaCode

integer

None.

Businessllicensepic

string

None.

Businessllicense

string

None.

IdType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerNo": "sample string 1",
  "UnitName": "sample string 2",
  "Telephone": "sample string 3",
  "Adress": "sample string 4",
  "ProvinceCode": 5,
  "CityCode": 6,
  "AreaCode": 7,
  "Businessllicensepic": "sample string 8",
  "Businessllicense": "sample string 9",
  "IdType": 10
}

application/xml, text/xml

Sample:
<UserUnitDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.DTO">
  <Adress>sample string 4</Adress>
  <AreaCode>7</AreaCode>
  <Businessllicense>sample string 9</Businessllicense>
  <Businessllicensepic>sample string 8</Businessllicensepic>
  <CityCode>6</CityCode>
  <CustomerNo>sample string 1</CustomerNo>
  <IdType>10</IdType>
  <ProvinceCode>5</ProvinceCode>
  <Telephone>sample string 3</Telephone>
  <UnitName>sample string 2</UnitName>
</UserUnitDTO>

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

Response Information

Resource Description

LoginResponse
NameDescriptionTypeAdditional information
CustomerNo

string

None.

UnitNo

string

None.

IsUpload

integer

None.

IsJoinUp

integer

None.

IdentityType

integer

None.

UserName

string

None.

IsApply

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomerNo": "sample string 1",
  "UnitNo": "sample string 2",
  "IsUpload": 3,
  "IsJoinUp": 4,
  "IdentityType": 5,
  "UserName": "sample string 6",
  "IsApply": 7
}

application/xml, text/xml

Sample:
<LoginResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity">
  <CustomerNo>sample string 1</CustomerNo>
  <IdentityType>5</IdentityType>
  <IsApply>7</IsApply>
  <IsJoinUp>4</IsJoinUp>
  <IsUpload>3</IsUpload>
  <UnitNo>sample string 2</UnitNo>
  <UserName>sample string 6</UserName>
</LoginResponse>