POST AssignmentRole/GetRoleIds/{assignmentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
assignmentId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Role
NameDescriptionTypeAdditional information
RoleId

integer

None.

Name

string

None.

FromFIS

boolean

None.

IsPrimary

boolean

None.

ChangeTracker

ObjectChangeTracker

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "RoleId": 1,
    "Name": "sample string 2",
    "FromFIS": true,
    "IsPrimary": true,
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <Role z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties />
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <FromFIS>true</FromFIS>
    <IsPrimary>true</IsPrimary>
    <Name>sample string 2</Name>
    <RoleId>1</RoleId>
  </Role>
  <Role z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfRole>