POST UserProfile/GetUserDetail

Request Information

URI Parameters

None.

Body Parameters

string

Request Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserDetail
NameDescriptionTypeAdditional information
User

UserProfile

None.

PartnerRole

PartnerRole

None.

Partner

Partner

None.

PartnerRoles

Collection of PartnerRole

None.

AllSalesEntities

Collection of SalesEntityPartnerRole

None.

UserCompanies

Collection of UserCompanyBrand

None.

DeletedRoles

Collection of PartnerRole

None.

DeletedSalesEntityPartnerRoles

Collection of SalesEntityPartnerRole

None.

UserName

string

None.

ActiveDirectoryUserName

string

None.

ADUserName

string

None.

MyAccessId

string

None.

PartnerName

string

None.

RoleId

integer

None.

FromFIS

boolean

None.

IsTRIALSAdmin

boolean

None.

IsSuperUser

boolean

None.

IsAgronomyResearchManager

boolean

None.

IsAgronomyTrialManager

boolean

None.

IsTechnicalServiceManager

boolean

None.

IsTechnicalProductManager

boolean

None.

IsBrasil

boolean

None.

IsArgentina

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "User": {
    "$id": "1",
    "Username": "sample string 1",
    "PartnerRoleId": "98985148-b459-43f2-95ad-89016d068bd5",
    "BasePartnerRoleId": "a29957b3-21ec-49e7-95c4-0862da737a04",
    "FromFIS": true,
    "ActiveDirectoryUserName": "sample string 2",
    "ADUserName": "sample string 3",
    "MyAccessId": "sample string 4",
    "Country": "sample string 8",
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  "PartnerRole": {
    "$id": "3",
    "PartnerRoleId": "3e450c23-01ed-43d3-95ed-bb22524d3275",
    "PartnerId": "7f9bdca4-b18f-4e9a-8300-fcdb3ecc8148",
    "RoleId": 6,
    "FISId": 1,
    "Street1": "sample string 4",
    "Street2": "sample string 5",
    "City": "sample string 6",
    "StateProvince": "sample string 7",
    "PostalCode": "sample string 8",
    "Country": "sample string 9",
    "County": "sample string 10",
    "FromFIS": true,
    "EmailAddress": "sample string 11",
    "PhoneNumber": "sample string 12",
    "MobilePhone": "sample string 13",
    "ChangeTracker": {
      "$ref": "2"
    }
  },
  "Partner": {
    "$id": "4",
    "PartnerId": "0fae66fb-efb2-4bb3-b2a2-acbffb155530",
    "Name": "sample string 5",
    "FromFIS": true,
    "ChangeTracker": {
      "$ref": "2"
    }
  },
  "PartnerRoles": [
    {
      "$ref": "3"
    },
    {
      "$ref": "3"
    },
    {
      "$id": "5",
      "PartnerRoleId": "cd4bcf52-198e-4105-987f-a08809b11184",
      "PartnerId": "0fae66fb-efb2-4bb3-b2a2-acbffb155530",
      "RoleId": 9000,
      "FromFIS": false,
      "ChangeTracker": {
        "$id": "6",
        "State": 2,
        "ObjectsRemovedFromCollectionProperties": {},
        "OriginalValues": {},
        "ExtendedProperties": {},
        "ObjectsAddedToCollectionProperties": {}
      }
    },
    {
      "$id": "7",
      "PartnerRoleId": "af7224ad-f7e6-4b0f-955d-af3eb8c6dd82",
      "PartnerId": "0fae66fb-efb2-4bb3-b2a2-acbffb155530",
      "RoleId": 9001,
      "FromFIS": false,
      "ChangeTracker": {
        "$id": "8",
        "State": 2,
        "ObjectsRemovedFromCollectionProperties": {},
        "OriginalValues": {},
        "ExtendedProperties": {},
        "ObjectsAddedToCollectionProperties": {}
      }
    },
    {
      "$id": "9",
      "PartnerRoleId": "eb6b1a48-5f44-46f9-a5f8-8b0581b7488f",
      "PartnerId": "0fae66fb-efb2-4bb3-b2a2-acbffb155530",
      "RoleId": 9002,
      "FromFIS": false,
      "ChangeTracker": {
        "$id": "10",
        "State": 2,
        "ObjectsRemovedFromCollectionProperties": {},
        "OriginalValues": {},
        "ExtendedProperties": {},
        "ObjectsAddedToCollectionProperties": {}
      }
    },
    {
      "$id": "11",
      "PartnerRoleId": "05f73852-86c6-49fd-900d-6c2b7c2b09a1",
      "PartnerId": "0fae66fb-efb2-4bb3-b2a2-acbffb155530",
      "RoleId": 9003,
      "FromFIS": false,
      "ChangeTracker": {
        "$id": "12",
        "State": 2,
        "ObjectsRemovedFromCollectionProperties": {},
        "OriginalValues": {},
        "ExtendedProperties": {},
        "ObjectsAddedToCollectionProperties": {}
      }
    },
    {
      "$id": "13",
      "PartnerRoleId": "2f6fb7fd-d38f-40a8-b66e-9fcd16a8d628",
      "PartnerId": "0fae66fb-efb2-4bb3-b2a2-acbffb155530",
      "RoleId": 9004,
      "FromFIS": false,
      "ChangeTracker": {
        "$id": "14",
        "State": 2,
        "ObjectsRemovedFromCollectionProperties": {},
        "OriginalValues": {},
        "ExtendedProperties": {},
        "ObjectsAddedToCollectionProperties": {}
      }
    }
  ],
  "AllSalesEntities": [
    {
      "$id": "15",
      "SalesEntityCode": "sample string 1",
      "SalesEntityTypeId": 2,
      "PartnerRoleId": "d4c8fb77-9373-468d-8e6b-53d633d217f4",
      "FromFIS": true,
      "CountryCode": "sample string 4",
      "CompanyCode": "sample string 5",
      "ChangeTracker": {
        "$ref": "2"
      }
    },
    {
      "$ref": "15"
    },
    {
      "$id": "16",
      "SalesEntityCode": "BR",
      "SalesEntityTypeId": 2,
      "PartnerRoleId": "3e450c23-01ed-43d3-95ed-bb22524d3275",
      "FromFIS": false,
      "ChangeTracker": {
        "$id": "17",
        "State": 2,
        "ObjectsRemovedFromCollectionProperties": {},
        "OriginalValues": {},
        "ExtendedProperties": {},
        "ObjectsAddedToCollectionProperties": {}
      }
    },
    {
      "$id": "18",
      "SalesEntityCode": "AR",
      "SalesEntityTypeId": 2,
      "PartnerRoleId": "3e450c23-01ed-43d3-95ed-bb22524d3275",
      "FromFIS": false,
      "ChangeTracker": {
        "$id": "19",
        "State": 2,
        "ObjectsRemovedFromCollectionProperties": {},
        "OriginalValues": {},
        "ExtendedProperties": {},
        "ObjectsAddedToCollectionProperties": {}
      }
    }
  ],
  "UserCompanies": [
    {
      "$id": "20",
      "CompanyCode": "sample string 1",
      "UserName": "sample string 2",
      "CountryCode": "sample string 3",
      "BrandId": 4.0,
      "Region": "sample string 5",
      "ChangeTracker": {
        "$ref": "2"
      }
    },
    {
      "$ref": "20"
    }
  ],
  "DeletedRoles": [
    {
      "$ref": "3"
    },
    {
      "$ref": "3"
    }
  ],
  "DeletedSalesEntityPartnerRoles": [
    {
      "$ref": "15"
    },
    {
      "$ref": "15"
    }
  ],
  "UserName": "sample string 1",
  "ActiveDirectoryUserName": "sample string 2",
  "ADUserName": "sample string 3",
  "MyAccessId": "sample string 4",
  "PartnerName": "sample string 5",
  "RoleId": 6,
  "FromFIS": true,
  "IsTRIALSAdmin": true,
  "IsAgronomyResearchManager": true,
  "IsAgronomyTrialManager": true,
  "IsTechnicalServiceManager": true,
  "IsTechnicalProductManager": true,
  "IsBrasil": true,
  "IsArgentina": true
}

application/xml, text/xml

Sample:
<UserDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <ADUserName>sample string 3</ADUserName>
  <ActiveDirectoryUserName>sample string 2</ActiveDirectoryUserName>
  <AllSalesEntities>
    <SalesEntityPartnerRole z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
      <ChangeTracker z:Id="i2">
        <ExtendedProperties />
        <ObjectsAddedToCollectionProperties />
        <ObjectsRemovedFromCollectionProperties />
        <OriginalValues />
        <State>Added</State>
      </ChangeTracker>
      <CompanyCode>sample string 5</CompanyCode>
      <CountryCode>sample string 4</CountryCode>
      <FromFIS>true</FromFIS>
      <PartnerRoleId>d4c8fb77-9373-468d-8e6b-53d633d217f4</PartnerRoleId>
      <SalesEntityCode>sample string 1</SalesEntityCode>
      <SalesEntityTypeId>2</SalesEntityTypeId>
    </SalesEntityPartnerRole>
    <SalesEntityPartnerRole z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
    <SalesEntityPartnerRole z:Id="i3" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
      <ChangeTracker z:Id="i4">
        <ExtendedProperties />
        <ObjectsAddedToCollectionProperties />
        <ObjectsRemovedFromCollectionProperties />
        <OriginalValues />
        <State>Added</State>
      </ChangeTracker>
      <CompanyCode i:nil="true" />
      <CountryCode i:nil="true" />
      <FromFIS>false</FromFIS>
      <PartnerRoleId>3e450c23-01ed-43d3-95ed-bb22524d3275</PartnerRoleId>
      <SalesEntityCode>BR</SalesEntityCode>
      <SalesEntityTypeId>2</SalesEntityTypeId>
    </SalesEntityPartnerRole>
    <SalesEntityPartnerRole z:Id="i5" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
      <ChangeTracker z:Id="i6">
        <ExtendedProperties />
        <ObjectsAddedToCollectionProperties />
        <ObjectsRemovedFromCollectionProperties />
        <OriginalValues />
        <State>Added</State>
      </ChangeTracker>
      <CompanyCode i:nil="true" />
      <CountryCode i:nil="true" />
      <FromFIS>false</FromFIS>
      <PartnerRoleId>3e450c23-01ed-43d3-95ed-bb22524d3275</PartnerRoleId>
      <SalesEntityCode>AR</SalesEntityCode>
      <SalesEntityTypeId>2</SalesEntityTypeId>
    </SalesEntityPartnerRole>
  </AllSalesEntities>
  <DeletedRoles>
    <PartnerRole z:Id="i7" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
      <ChangeTracker z:Ref="i2" />
      <City>sample string 6</City>
      <Country>sample string 9</Country>
      <County>sample string 10</County>
      <EmailAddress>sample string 11</EmailAddress>
      <FISId>1</FISId>
      <FromFIS>true</FromFIS>
      <MobilePhone>sample string 13</MobilePhone>
      <PartnerId>7f9bdca4-b18f-4e9a-8300-fcdb3ecc8148</PartnerId>
      <PartnerRoleId>3e450c23-01ed-43d3-95ed-bb22524d3275</PartnerRoleId>
      <PhoneNumber>sample string 12</PhoneNumber>
      <PostalCode>sample string 8</PostalCode>
      <RoleId>6</RoleId>
      <StateProvince>sample string 7</StateProvince>
      <Street1>sample string 4</Street1>
      <Street2>sample string 5</Street2>
    </PartnerRole>
    <PartnerRole z:Ref="i7" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
  </DeletedRoles>
  <DeletedSalesEntityPartnerRoles>
    <SalesEntityPartnerRole z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
    <SalesEntityPartnerRole z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
  </DeletedSalesEntityPartnerRoles>
  <IsAgronomyResearchManager>true</IsAgronomyResearchManager>
  <IsAgronomyTrialManager>true</IsAgronomyTrialManager>
  <IsArgentina>true</IsArgentina>
  <IsBrasil>true</IsBrasil>
  <IsSuperUser>false</IsSuperUser>
  <IsTRIALSAdmin>true</IsTRIALSAdmin>
  <IsTechnicalProductManager>true</IsTechnicalProductManager>
  <IsTechnicalServiceManager>true</IsTechnicalServiceManager>
  <MyAccessId>sample string 4</MyAccessId>
  <Partner z:Id="i8" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <ChangeTracker z:Ref="i2" />
    <FromFIS>true</FromFIS>
    <Name>sample string 5</Name>
    <PartnerId>0fae66fb-efb2-4bb3-b2a2-acbffb155530</PartnerId>
  </Partner>
  <PartnerName>sample string 5</PartnerName>
  <PartnerRole z:Ref="i7" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
  <PartnerRoles>
    <PartnerRole z:Ref="i7" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
    <PartnerRole z:Ref="i7" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
    <PartnerRole z:Id="i9" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
      <ChangeTracker z:Id="i10">
        <ExtendedProperties />
        <ObjectsAddedToCollectionProperties />
        <ObjectsRemovedFromCollectionProperties />
        <OriginalValues />
        <State>Added</State>
      </ChangeTracker>
      <City i:nil="true" />
      <Country i:nil="true" />
      <County i:nil="true" />
      <EmailAddress i:nil="true" />
      <FISId i:nil="true" />
      <FromFIS>false</FromFIS>
      <MobilePhone i:nil="true" />
      <PartnerId>0fae66fb-efb2-4bb3-b2a2-acbffb155530</PartnerId>
      <PartnerRoleId>cd4bcf52-198e-4105-987f-a08809b11184</PartnerRoleId>
      <PhoneNumber i:nil="true" />
      <PostalCode i:nil="true" />
      <RoleId>9000</RoleId>
      <StateProvince i:nil="true" />
      <Street1 i:nil="true" />
      <Street2 i:nil="true" />
    </PartnerRole>
    <PartnerRole z:Id="i11" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
      <ChangeTracker z:Id="i12">
        <ExtendedProperties />
        <ObjectsAddedToCollectionProperties />
        <ObjectsRemovedFromCollectionProperties />
        <OriginalValues />
        <State>Added</State>
      </ChangeTracker>
      <City i:nil="true" />
      <Country i:nil="true" />
      <County i:nil="true" />
      <EmailAddress i:nil="true" />
      <FISId i:nil="true" />
      <FromFIS>false</FromFIS>
      <MobilePhone i:nil="true" />
      <PartnerId>0fae66fb-efb2-4bb3-b2a2-acbffb155530</PartnerId>
      <PartnerRoleId>af7224ad-f7e6-4b0f-955d-af3eb8c6dd82</PartnerRoleId>
      <PhoneNumber i:nil="true" />
      <PostalCode i:nil="true" />
      <RoleId>9001</RoleId>
      <StateProvince i:nil="true" />
      <Street1 i:nil="true" />
      <Street2 i:nil="true" />
    </PartnerRole>
    <PartnerRole z:Id="i13" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
      <ChangeTracker z:Id="i14">
        <ExtendedProperties />
        <ObjectsAddedToCollectionProperties />
        <ObjectsRemovedFromCollectionProperties />
        <OriginalValues />
        <State>Added</State>
      </ChangeTracker>
      <City i:nil="true" />
      <Country i:nil="true" />
      <County i:nil="true" />
      <EmailAddress i:nil="true" />
      <FISId i:nil="true" />
      <FromFIS>false</FromFIS>
      <MobilePhone i:nil="true" />
      <PartnerId>0fae66fb-efb2-4bb3-b2a2-acbffb155530</PartnerId>
      <PartnerRoleId>eb6b1a48-5f44-46f9-a5f8-8b0581b7488f</PartnerRoleId>
      <PhoneNumber i:nil="true" />
      <PostalCode i:nil="true" />
      <RoleId>9002</RoleId>
      <StateProvince i:nil="true" />
      <Street1 i:nil="true" />
      <Street2 i:nil="true" />
    </PartnerRole>
    <PartnerRole z:Id="i15" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
      <ChangeTracker z:Id="i16">
        <ExtendedProperties />
        <ObjectsAddedToCollectionProperties />
        <ObjectsRemovedFromCollectionProperties />
        <OriginalValues />
        <State>Added</State>
      </ChangeTracker>
      <City i:nil="true" />
      <Country i:nil="true" />
      <County i:nil="true" />
      <EmailAddress i:nil="true" />
      <FISId i:nil="true" />
      <FromFIS>false</FromFIS>
      <MobilePhone i:nil="true" />
      <PartnerId>0fae66fb-efb2-4bb3-b2a2-acbffb155530</PartnerId>
      <PartnerRoleId>05f73852-86c6-49fd-900d-6c2b7c2b09a1</PartnerRoleId>
      <PhoneNumber i:nil="true" />
      <PostalCode i:nil="true" />
      <RoleId>9003</RoleId>
      <StateProvince i:nil="true" />
      <Street1 i:nil="true" />
      <Street2 i:nil="true" />
    </PartnerRole>
    <PartnerRole z:Id="i17" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
      <ChangeTracker z:Id="i18">
        <ExtendedProperties />
        <ObjectsAddedToCollectionProperties />
        <ObjectsRemovedFromCollectionProperties />
        <OriginalValues />
        <State>Added</State>
      </ChangeTracker>
      <City i:nil="true" />
      <Country i:nil="true" />
      <County i:nil="true" />
      <EmailAddress i:nil="true" />
      <FISId i:nil="true" />
      <FromFIS>false</FromFIS>
      <MobilePhone i:nil="true" />
      <PartnerId>0fae66fb-efb2-4bb3-b2a2-acbffb155530</PartnerId>
      <PartnerRoleId>2f6fb7fd-d38f-40a8-b66e-9fcd16a8d628</PartnerRoleId>
      <PhoneNumber i:nil="true" />
      <PostalCode i:nil="true" />
      <RoleId>9004</RoleId>
      <StateProvince i:nil="true" />
      <Street1 i:nil="true" />
      <Street2 i:nil="true" />
    </PartnerRole>
  </PartnerRoles>
  <RoleId>6</RoleId>
  <User z:Id="i19" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <ADUserName>sample string 3</ADUserName>
    <ActiveDirectoryUserName>sample string 2</ActiveDirectoryUserName>
    <BasePartnerRoleId>a29957b3-21ec-49e7-95c4-0862da737a04</BasePartnerRoleId>
    <ChangeTracker z:Ref="i2" />
    <Country>sample string 8</Country>
    <FromFIS>true</FromFIS>
    <MyAccessId>sample string 4</MyAccessId>
    <PartnerRoleId>98985148-b459-43f2-95ad-89016d068bd5</PartnerRoleId>
    <Username>sample string 1</Username>
  </User>
  <UserCompanies>
    <UserCompanyBrand z:Id="i20" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
      <BrandId>4</BrandId>
      <ChangeTracker z:Ref="i2" />
      <CompanyCode>sample string 1</CompanyCode>
      <CountryCode>sample string 3</CountryCode>
      <Region>sample string 5</Region>
      <UserName>sample string 2</UserName>
    </UserCompanyBrand>
    <UserCompanyBrand z:Ref="i20" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
  </UserCompanies>
  <UserName>sample string 1</UserName>
</UserDetail>