PUT Api/PreferedWorkTypes/{id}

Edytuje obiekt PreferedWorkType

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

identyfikator modyfikowanego obiektu

integer

Required

Body Parameters

obiekt wraz ze wszystkimi wartoĊ›ciami

PreferedWorkTypeDto
NameDescriptionTypeAdditional information
PreferedWorkTypeId

integer

Required

WorkTypeId

integer

Required

ProfileId

string

Required

Request Formats

application/json, text/json

Sample:
{
  "preferedWorkTypeId": 1,
  "workTypeId": 2,
  "profileId": "sample string 3"
}

multipart/form-data

Sample:
{"preferedWorkTypeId":1,"workTypeId":2,"profileId":"sample string 3"}

application/xml, text/xml

Sample:
<PreferedWorkTypeDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <PreferedWorkTypeId>1</PreferedWorkTypeId>
  <WorkTypeId>2</WorkTypeId>
  <ProfileId>sample string 3</ProfileId>
</PreferedWorkTypeDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.