GET Api/TypeOfContractAttributes/{id}

Wyszukuje object TypeOfContractAttribute po jego identyfikatorze

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

unikalny identyfikator obiektu

integer

Required

Body Parameters

None.

Response Information

Resource Description

obiekt TypeOfContractAttribute posiadajÄ…cy wybrany identyfikator

TypeOfContractAttributeDto
NameDescriptionTypeAdditional information
TypeOfContractAttributeId

integer

Required

OrganizationalUnitId

integer

Required

Name

string

Required

TypeOfAttributeId

integer

Required

DefaultValue

string

None.

ListOfValues

string

None.

Response Formats

application/json, text/json

Sample:
{
  "typeOfContractAttributeId": 1,
  "organizationalUnitId": 2,
  "name": "sample string 3",
  "typeOfAttributeId": 4,
  "defaultValue": "sample string 5",
  "listOfValues": "sample string 6"
}

multipart/form-data

Sample:
{"typeOfContractAttributeId":1,"organizationalUnitId":2,"name":"sample string 3","typeOfAttributeId":4,"defaultValue":"sample string 5","listOfValues":"sample string 6"}

application/xml, text/xml

Sample:
<TypeOfContractAttributeDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <TypeOfContractAttributeId>1</TypeOfContractAttributeId>
  <OrganizationalUnitId>2</OrganizationalUnitId>
  <Name>sample string 3</Name>
  <TypeOfAttributeId>4</TypeOfAttributeId>
  <DefaultValue>sample string 5</DefaultValue>
  <ListOfValues>sample string 6</ListOfValues>
</TypeOfContractAttributeDto>