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
UserDetailName | 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": "ceedc7fb-95cc-4c98-bbfa-15a4c382155b", "BasePartnerRoleId": "a56a894b-458c-405c-a16f-04d76f3523bc", "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": "632c40e6-512a-4978-b792-621cea1e5681", "PartnerId": "06e85ac2-c360-42f3-a8ae-904fc6b9795a", "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": "d2824a02-cccd-4dde-ac70-62817c6ce8e6", "Name": "sample string 5", "FromFIS": true, "ChangeTracker": { "$ref": "2" } }, "PartnerRoles": [ { "$ref": "3" }, { "$ref": "3" }, { "$id": "5", "PartnerRoleId": "f6f0e9b4-59bc-437f-aca6-496432d32190", "PartnerId": "d2824a02-cccd-4dde-ac70-62817c6ce8e6", "RoleId": 9000, "FromFIS": false, "ChangeTracker": { "$id": "6", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$id": "7", "PartnerRoleId": "c374db41-3b51-4fde-8d43-918c3402a0fe", "PartnerId": "d2824a02-cccd-4dde-ac70-62817c6ce8e6", "RoleId": 9001, "FromFIS": false, "ChangeTracker": { "$id": "8", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$id": "9", "PartnerRoleId": "ecc4270f-6d71-4f8d-a57e-365063ea22fe", "PartnerId": "d2824a02-cccd-4dde-ac70-62817c6ce8e6", "RoleId": 9002, "FromFIS": false, "ChangeTracker": { "$id": "10", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$id": "11", "PartnerRoleId": "698c5f7a-68bb-4b2f-8b5f-233b37a77bbc", "PartnerId": "d2824a02-cccd-4dde-ac70-62817c6ce8e6", "RoleId": 9003, "FromFIS": false, "ChangeTracker": { "$id": "12", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$id": "13", "PartnerRoleId": "f07b27f2-833d-40c6-86a0-6a5bd111e05f", "PartnerId": "d2824a02-cccd-4dde-ac70-62817c6ce8e6", "RoleId": 9004, "FromFIS": false, "ChangeTracker": { "$id": "14", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } } ], "AllSalesEntities": [ { "$id": "15", "SalesEntityCode": "sample string 1", "SalesEntityTypeId": 2, "PartnerRoleId": "f349d211-68f8-48da-b6ca-edd9ddef79c1", "FromFIS": true, "CountryCode": "sample string 4", "CompanyCode": "sample string 5", "ChangeTracker": { "$ref": "2" } }, { "$ref": "15" }, { "$id": "16", "SalesEntityCode": "BR", "SalesEntityTypeId": 2, "PartnerRoleId": "632c40e6-512a-4978-b792-621cea1e5681", "FromFIS": false, "ChangeTracker": { "$id": "17", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$id": "18", "SalesEntityCode": "AR", "SalesEntityTypeId": 2, "PartnerRoleId": "632c40e6-512a-4978-b792-621cea1e5681", "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>f349d211-68f8-48da-b6ca-edd9ddef79c1</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>632c40e6-512a-4978-b792-621cea1e5681</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>632c40e6-512a-4978-b792-621cea1e5681</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>06e85ac2-c360-42f3-a8ae-904fc6b9795a</PartnerId> <PartnerRoleId>632c40e6-512a-4978-b792-621cea1e5681</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>d2824a02-cccd-4dde-ac70-62817c6ce8e6</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>d2824a02-cccd-4dde-ac70-62817c6ce8e6</PartnerId> <PartnerRoleId>f6f0e9b4-59bc-437f-aca6-496432d32190</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>d2824a02-cccd-4dde-ac70-62817c6ce8e6</PartnerId> <PartnerRoleId>c374db41-3b51-4fde-8d43-918c3402a0fe</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>d2824a02-cccd-4dde-ac70-62817c6ce8e6</PartnerId> <PartnerRoleId>ecc4270f-6d71-4f8d-a57e-365063ea22fe</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>d2824a02-cccd-4dde-ac70-62817c6ce8e6</PartnerId> <PartnerRoleId>698c5f7a-68bb-4b2f-8b5f-233b37a77bbc</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>d2824a02-cccd-4dde-ac70-62817c6ce8e6</PartnerId> <PartnerRoleId>f07b27f2-833d-40c6-86a0-6a5bd111e05f</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>a56a894b-458c-405c-a16f-04d76f3523bc</BasePartnerRoleId> <ChangeTracker z:Ref="i2" /> <Country>sample string 8</Country> <FromFIS>true</FromFIS> <MyAccessId>sample string 4</MyAccessId> <PartnerRoleId>ceedc7fb-95cc-4c98-bbfa-15a4c382155b</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>