PUT Api/AssignedAttributes/{id}

Edytuje obiekt AssignedAttribute

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

identyfikator modyfikowanego obiektu

integer

Required

Body Parameters

obiekt wraz ze wszystkimi wartoĊ›ciami

AssignedAttributeDto
NameDescriptionTypeAdditional information
AssignedAttributeId

integer

Required

CustomAttributeId

integer

Required

ProfileId

string

Required

NumValue

decimal number

None.

TextValue

string

None.

BitValue

boolean

None.

AssignDate

date

None.

RemoveDate

date

None.

IsReadOnly

boolean

None.

IsExistForProfile

Is exist assigned attribute for profile.

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "assignedAttributeId": 1,
  "customAttributeId": 2,
  "profileId": "sample string 3",
  "numValue": 1.0,
  "textValue": "sample string 4",
  "bitValue": true,
  "assignDate": "2024-05-18T06:44:07.8998704+00:00",
  "removeDate": "2024-05-18T06:44:07.8998704+00:00",
  "isReadOnly": true,
  "isExistForProfile": true
}

multipart/form-data

Sample:
{"assignedAttributeId":1,"customAttributeId":2,"profileId":"sample string 3","numValue":1.0,"textValue":"sample string 4","bitValue":true,"assignDate":"2024-05-18T06:44:07.8998704+00:00","removeDate":"2024-05-18T06:44:07.8998704+00:00","isReadOnly":true,"isExistForProfile":true}

application/xml, text/xml

Sample:
<AssignedAttributeDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <AssignedAttributeId>1</AssignedAttributeId>
  <CustomAttributeId>2</CustomAttributeId>
  <ProfileId>sample string 3</ProfileId>
  <NumValue>1</NumValue>
  <TextValue>sample string 4</TextValue>
  <BitValue>true</BitValue>
  <AssignDate />
  <RemoveDate />
  <IsReadOnly>true</IsReadOnly>
  <IsExistForProfile>true</IsExistForProfile>
</AssignedAttributeDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.