POST api/Unit/GenerateUnitSpecification

Request Information

URI Parameters

None.

Body Parameters

Collection of RegistUnitSpecDTO
NameDescriptionTypeAdditional information
SpecCode

string

None.

SpecValue

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "SpecCode": "sample string 1",
    "SpecValue": "sample string 2"
  },
  {
    "SpecCode": "sample string 1",
    "SpecValue": "sample string 2"
  }
]

text/html

Sample:
[{"SpecCode":"sample string 1","SpecValue":"sample string 2"},{"SpecCode":"sample string 1","SpecValue":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfRegistUnitSpecDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.WebAPI.Models">
  <RegistUnitSpecDTO>
    <SpecCode>sample string 1</SpecCode>
    <SpecValue>sample string 2</SpecValue>
  </RegistUnitSpecDTO>
  <RegistUnitSpecDTO>
    <SpecCode>sample string 1</SpecCode>
    <SpecValue>sample string 2</SpecValue>
  </RegistUnitSpecDTO>
</ArrayOfRegistUnitSpecDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of UnitSpecification
NameDescriptionTypeAdditional information
UnitSpecificationId

integer

None.

UnitId

integer

Required

RefUnitTypeSpecificationId

integer

Required

SpecificationDataType

string

Required

Max length: 50

SpecificationCode

string

Required

Max length: 18

SpecificationName

string

Required

Max length: 50

IsKeyFinder

boolean

None.

IsNameComponent

boolean

None.

NameComponentSequence

integer

None.

SpecificationValue

string

Required

IsPublic

boolean

None.

Unit

Unit

None.

RefUnitTypeSpecification

RefUnitTypeSpecSchema

None.

UserCreateRequestId

integer

None.

UserCreateOfficeId

integer

None.

UserCreateRoleId

integer

None.

UserUpdateRequestId

integer

None.

UsrCrt

string

Max length: 50

DtmCrt

date

None.

UsrUpd

string

Max length: 50

DtmUpd

date

None.

TimeStamp

Collection of byte

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

text/html

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.