POST UserProfile/GetUserDetail
Request Information
URI Parameters
None.
Body Parameters
stringRequest 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| Name | Description | Type | Additional 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": "966ab89e-088c-44ea-bf44-42f241584700",
"BasePartnerRoleId": "334a6c7b-4ac4-435b-b282-300e72ce2510",
"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": "4593052d-cb7e-4d23-b489-d248a691c0cc",
"PartnerId": "3faa42fa-e15c-48cf-95e0-f1c747421488",
"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": "2b1bec79-352f-4306-a081-813248c273c9",
"Name": "sample string 5",
"FromFIS": true,
"ChangeTracker": {
"$ref": "2"
}
},
"PartnerRoles": [
{
"$ref": "3"
},
{
"$ref": "3"
},
{
"$id": "5",
"PartnerRoleId": "d0114af3-975f-47b2-bc61-686fffd2cc38",
"PartnerId": "2b1bec79-352f-4306-a081-813248c273c9",
"RoleId": 9000,
"FromFIS": false,
"ChangeTracker": {
"$id": "6",
"State": 2,
"ObjectsRemovedFromCollectionProperties": {},
"OriginalValues": {},
"ExtendedProperties": {},
"ObjectsAddedToCollectionProperties": {}
}
},
{
"$id": "7",
"PartnerRoleId": "cb755454-ef87-4d34-b070-44422c60c149",
"PartnerId": "2b1bec79-352f-4306-a081-813248c273c9",
"RoleId": 9001,
"FromFIS": false,
"ChangeTracker": {
"$id": "8",
"State": 2,
"ObjectsRemovedFromCollectionProperties": {},
"OriginalValues": {},
"ExtendedProperties": {},
"ObjectsAddedToCollectionProperties": {}
}
},
{
"$id": "9",
"PartnerRoleId": "9e8f0f70-817e-478f-bdd0-862571ad9e31",
"PartnerId": "2b1bec79-352f-4306-a081-813248c273c9",
"RoleId": 9002,
"FromFIS": false,
"ChangeTracker": {
"$id": "10",
"State": 2,
"ObjectsRemovedFromCollectionProperties": {},
"OriginalValues": {},
"ExtendedProperties": {},
"ObjectsAddedToCollectionProperties": {}
}
},
{
"$id": "11",
"PartnerRoleId": "dc573b72-25e9-4236-9b91-633a99a29f42",
"PartnerId": "2b1bec79-352f-4306-a081-813248c273c9",
"RoleId": 9003,
"FromFIS": false,
"ChangeTracker": {
"$id": "12",
"State": 2,
"ObjectsRemovedFromCollectionProperties": {},
"OriginalValues": {},
"ExtendedProperties": {},
"ObjectsAddedToCollectionProperties": {}
}
},
{
"$id": "13",
"PartnerRoleId": "ec398d3b-b6b5-484d-b301-81681b172c7f",
"PartnerId": "2b1bec79-352f-4306-a081-813248c273c9",
"RoleId": 9004,
"FromFIS": false,
"ChangeTracker": {
"$id": "14",
"State": 2,
"ObjectsRemovedFromCollectionProperties": {},
"OriginalValues": {},
"ExtendedProperties": {},
"ObjectsAddedToCollectionProperties": {}
}
}
],
"AllSalesEntities": [
{
"$id": "15",
"SalesEntityCode": "sample string 1",
"SalesEntityTypeId": 2,
"PartnerRoleId": "55acde6e-f2c4-4345-ab5f-b60df0ce9e88",
"FromFIS": true,
"CountryCode": "sample string 4",
"CompanyCode": "sample string 5",
"ChangeTracker": {
"$ref": "2"
}
},
{
"$ref": "15"
},
{
"$id": "16",
"SalesEntityCode": "BR",
"SalesEntityTypeId": 2,
"PartnerRoleId": "4593052d-cb7e-4d23-b489-d248a691c0cc",
"FromFIS": false,
"ChangeTracker": {
"$id": "17",
"State": 2,
"ObjectsRemovedFromCollectionProperties": {},
"OriginalValues": {},
"ExtendedProperties": {},
"ObjectsAddedToCollectionProperties": {}
}
},
{
"$id": "18",
"SalesEntityCode": "AR",
"SalesEntityTypeId": 2,
"PartnerRoleId": "4593052d-cb7e-4d23-b489-d248a691c0cc",
"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>55acde6e-f2c4-4345-ab5f-b60df0ce9e88</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>4593052d-cb7e-4d23-b489-d248a691c0cc</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>4593052d-cb7e-4d23-b489-d248a691c0cc</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>3faa42fa-e15c-48cf-95e0-f1c747421488</PartnerId>
<PartnerRoleId>4593052d-cb7e-4d23-b489-d248a691c0cc</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>2b1bec79-352f-4306-a081-813248c273c9</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>2b1bec79-352f-4306-a081-813248c273c9</PartnerId>
<PartnerRoleId>d0114af3-975f-47b2-bc61-686fffd2cc38</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>2b1bec79-352f-4306-a081-813248c273c9</PartnerId>
<PartnerRoleId>cb755454-ef87-4d34-b070-44422c60c149</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>2b1bec79-352f-4306-a081-813248c273c9</PartnerId>
<PartnerRoleId>9e8f0f70-817e-478f-bdd0-862571ad9e31</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>2b1bec79-352f-4306-a081-813248c273c9</PartnerId>
<PartnerRoleId>dc573b72-25e9-4236-9b91-633a99a29f42</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>2b1bec79-352f-4306-a081-813248c273c9</PartnerId>
<PartnerRoleId>ec398d3b-b6b5-484d-b301-81681b172c7f</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>334a6c7b-4ac4-435b-b282-300e72ce2510</BasePartnerRoleId>
<ChangeTracker z:Ref="i2" />
<Country>sample string 8</Country>
<FromFIS>true</FromFIS>
<MyAccessId>sample string 4</MyAccessId>
<PartnerRoleId>966ab89e-088c-44ea-bf44-42f241584700</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>