GET Api/AssignedAttributes/GetForParent/{profileId}/{currentPage}/{itemsPerPage}

Pobiera listę wszystkich obiektów AssignedAttribute

Request Information

URI Parameters

NameDescriptionTypeAdditional information
profileId

identyfikator obiektu nadrzędnego Profile

string

Required

currentPage

numer aktualnej strony

integer

Default value is 0

itemsPerPage

ilość elementów na stronie

integer

Default value is 2147483647

Body Parameters

None.

Response Information

Resource Description

lista wszystkich obiektów AssignedAttribute w bazie danych

Collection of 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.

Response 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-18T07:25:20.6725703+00:00",
    "removeDate": "2024-05-18T07:25:20.6725703+00:00",
    "isReadOnly": true,
    "isExistForProfile": true
  },
  {
    "assignedAttributeId": 1,
    "customAttributeId": 2,
    "profileId": "sample string 3",
    "numValue": 1.0,
    "textValue": "sample string 4",
    "bitValue": true,
    "assignDate": "2024-05-18T07:25:20.6725703+00:00",
    "removeDate": "2024-05-18T07:25:20.6725703+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-18T07:25:20.6725703+00:00","removeDate":"2024-05-18T07:25:20.6725703+00:00","isReadOnly":true,"isExistForProfile":true},{"assignedAttributeId":1,"customAttributeId":2,"profileId":"sample string 3","numValue":1.0,"textValue":"sample string 4","bitValue":true,"assignDate":"2024-05-18T07:25:20.6725703+00:00","removeDate":"2024-05-18T07:25:20.6725703+00:00","isReadOnly":true,"isExistForProfile":true}]

application/xml, text/xml

Sample:
<ArrayOfAssignedAttributeDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <AssignedAttributeDto>
    <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>
  <AssignedAttributeDto>
    <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>
</ArrayOfAssignedAttributeDto>