POST UserProfile/GetAllSecurityPermissions

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SecurityPermission
NameDescriptionTypeAdditional information
CortevaBrand

CortevaBrands

None.

BusinessUnit

BusinessUnit

None.

Brand

Brand

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CortevaBrand": {
      "$id": "1",
      "BrandId": 1,
      "CompanyId": 2,
      "CountryCode": "sample string 3",
      "IsDefault": true,
      "ChangeTracker": {
        "$id": "2",
        "State": 2,
        "ObjectsRemovedFromCollectionProperties": {},
        "OriginalValues": {},
        "ExtendedProperties": {},
        "ObjectsAddedToCollectionProperties": {}
      },
      "BrandName": "sample string 4"
    }
  },
  {
    "CortevaBrand": {
      "$ref": "1"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfSecurityPermission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <SecurityPermission>
    <Brand i:nil="true" />
    <BusinessUnit i:nil="true" />
    <CortevaBrand z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
      <BrandId>1</BrandId>
      <BrandName>sample string 4</BrandName>
      <ChangeTracker z:Id="i2">
        <ExtendedProperties />
        <ObjectsAddedToCollectionProperties />
        <ObjectsRemovedFromCollectionProperties />
        <OriginalValues />
        <State>Added</State>
      </ChangeTracker>
      <CompanyId>2</CompanyId>
      <CountryCode>sample string 3</CountryCode>
      <IsDefault>true</IsDefault>
    </CortevaBrand>
  </SecurityPermission>
  <SecurityPermission>
    <Brand i:nil="true" />
    <BusinessUnit i:nil="true" />
    <CortevaBrand z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
  </SecurityPermission>
</ArrayOfSecurityPermission>