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": "279c07c6-05d3-423d-9a05-ee77609475e8",
    "BasePartnerRoleId": "ef977468-9666-478d-8fb1-cab5911168ff",
    "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": "57774dc6-5b52-49ff-b4bc-895fa0b1763e",
    "PartnerId": "10ca96d7-46cd-4827-95e9-ec17d819af05",
    "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": "a9203b19-591c-4a0e-a5c9-581e6da2294e",
    "Name": "sample string 5",
    "FromFIS": true,
    "ChangeTracker": {
      "$ref": "2"
    }
  },
  "PartnerRoles": [
    {
      "$ref": "3"
    },
    {
      "$ref": "3"
    },
    {
      "$id": "5",
      "PartnerRoleId": "d0e208f0-afba-4982-a04c-860165812cbc",
      "PartnerId": "a9203b19-591c-4a0e-a5c9-581e6da2294e",
      "RoleId": 9000,
      "FromFIS": false,
      "ChangeTracker": {
        "$id": "6",
        "State": 2,
        "ObjectsRemovedFromCollectionProperties": {},
        "OriginalValues": {},
        "ExtendedProperties": {},
        "ObjectsAddedToCollectionProperties": {}
      }
    },
    {
      "$id": "7",
      "PartnerRoleId": "26b664b1-25eb-41c5-8c3c-519a9a8214c0",
      "PartnerId": "a9203b19-591c-4a0e-a5c9-581e6da2294e",
      "RoleId": 9001,
      "FromFIS": false,
      "ChangeTracker": {
        "$id": "8",
        "State": 2,
        "ObjectsRemovedFromCollectionProperties": {},
        "OriginalValues": {},
        "ExtendedProperties": {},
        "ObjectsAddedToCollectionProperties": {}
      }
    },
    {
      "$id": "9",
      "PartnerRoleId": "c43e11fe-5d37-44c1-bd04-745f28193240",
      "PartnerId": "a9203b19-591c-4a0e-a5c9-581e6da2294e",
      "RoleId": 9002,
      "FromFIS": false,
      "ChangeTracker": {
        "$id": "10",
        "State": 2,
        "ObjectsRemovedFromCollectionProperties": {},
        "OriginalValues": {},
        "ExtendedProperties": {},
        "ObjectsAddedToCollectionProperties": {}
      }
    },
    {
      "$id": "11",
      "PartnerRoleId": "ee6d46ce-0c5c-4630-92fb-9466d03ac9c1",
      "PartnerId": "a9203b19-591c-4a0e-a5c9-581e6da2294e",
      "RoleId": 9003,
      "FromFIS": false,
      "ChangeTracker": {
        "$id": "12",
        "State": 2,
        "ObjectsRemovedFromCollectionProperties": {},
        "OriginalValues": {},
        "ExtendedProperties": {},
        "ObjectsAddedToCollectionProperties": {}
      }
    },
    {
      "$id": "13",
      "PartnerRoleId": "c2476dd7-905d-44cf-936e-9d86ecf969ad",
      "PartnerId": "a9203b19-591c-4a0e-a5c9-581e6da2294e",
      "RoleId": 9004,
      "FromFIS": false,
      "ChangeTracker": {
        "$id": "14",
        "State": 2,
        "ObjectsRemovedFromCollectionProperties": {},
        "OriginalValues": {},
        "ExtendedProperties": {},
        "ObjectsAddedToCollectionProperties": {}
      }
    }
  ],
  "AllSalesEntities": [
    {
      "$id": "15",
      "SalesEntityCode": "sample string 1",
      "SalesEntityTypeId": 2,
      "PartnerRoleId": "9ba4fc59-8922-44f1-898f-6e833d6a04f1",
      "FromFIS": true,
      "CountryCode": "sample string 4",
      "CompanyCode": "sample string 5",
      "ChangeTracker": {
        "$ref": "2"
      }
    },
    {
      "$ref": "15"
    },
    {
      "$id": "16",
      "SalesEntityCode": "BR",
      "SalesEntityTypeId": 2,
      "PartnerRoleId": "57774dc6-5b52-49ff-b4bc-895fa0b1763e",
      "FromFIS": false,
      "ChangeTracker": {
        "$id": "17",
        "State": 2,
        "ObjectsRemovedFromCollectionProperties": {},
        "OriginalValues": {},
        "ExtendedProperties": {},
        "ObjectsAddedToCollectionProperties": {}
      }
    },
    {
      "$id": "18",
      "SalesEntityCode": "AR",
      "SalesEntityTypeId": 2,
      "PartnerRoleId": "57774dc6-5b52-49ff-b4bc-895fa0b1763e",
      "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>9ba4fc59-8922-44f1-898f-6e833d6a04f1</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>57774dc6-5b52-49ff-b4bc-895fa0b1763e</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>57774dc6-5b52-49ff-b4bc-895fa0b1763e</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>10ca96d7-46cd-4827-95e9-ec17d819af05</PartnerId>
      <PartnerRoleId>57774dc6-5b52-49ff-b4bc-895fa0b1763e</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>a9203b19-591c-4a0e-a5c9-581e6da2294e</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>a9203b19-591c-4a0e-a5c9-581e6da2294e</PartnerId>
      <PartnerRoleId>d0e208f0-afba-4982-a04c-860165812cbc</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>a9203b19-591c-4a0e-a5c9-581e6da2294e</PartnerId>
      <PartnerRoleId>26b664b1-25eb-41c5-8c3c-519a9a8214c0</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>a9203b19-591c-4a0e-a5c9-581e6da2294e</PartnerId>
      <PartnerRoleId>c43e11fe-5d37-44c1-bd04-745f28193240</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>a9203b19-591c-4a0e-a5c9-581e6da2294e</PartnerId>
      <PartnerRoleId>ee6d46ce-0c5c-4630-92fb-9466d03ac9c1</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>a9203b19-591c-4a0e-a5c9-581e6da2294e</PartnerId>
      <PartnerRoleId>c2476dd7-905d-44cf-936e-9d86ecf969ad</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>ef977468-9666-478d-8fb1-cab5911168ff</BasePartnerRoleId>
    <ChangeTracker z:Ref="i2" />
    <Country>sample string 8</Country>
    <FromFIS>true</FromFIS>
    <MyAccessId>sample string 4</MyAccessId>
    <PartnerRoleId>279c07c6-05d3-423d-9a05-ee77609475e8</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>