GET v1/ContactPersons/{id}/User
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
UserViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| UserId | string |
None. |
|
| CntId | globally unique identifier |
None. |
|
| CmpWwn | globally unique identifier |
None. |
|
| CmpCode | string |
None. |
|
| CicmpyId | integer |
None. |
|
| CicntpId | integer |
None. |
|
| PriceList | string |
None. |
|
| ResId | integer |
None. |
|
| UserRights | Collection of UserRolePermissions |
None. |
Response Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"UserId": "sample string 2",
"CntId": "9b5594c4-c42d-4bc7-9690-1aefea04427c",
"CmpWwn": "e141e4fe-d7a7-4903-8d57-ae11e74e8b00",
"CmpCode": "sample string 3",
"CicmpyId": 1,
"CicntpId": 1,
"PriceList": "sample string 4",
"ResId": 1,
"UserRights": [
{
"SecuobjectsId": 1,
"UserPermissions": 1
},
{
"SecuobjectsId": 1,
"UserPermissions": 1
}
]
}
application/xml, text/xml
Sample:
<UserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dealerportal.Shared.ViewModels.v1.ContactPerson">
<CicmpyId>1</CicmpyId>
<CicntpId>1</CicntpId>
<CmpCode>sample string 3</CmpCode>
<CmpWwn>e141e4fe-d7a7-4903-8d57-ae11e74e8b00</CmpWwn>
<CntId>9b5594c4-c42d-4bc7-9690-1aefea04427c</CntId>
<PriceList>sample string 4</PriceList>
<ResId>1</ResId>
<UserId>sample string 2</UserId>
<UserName>sample string 1</UserName>
<UserRights xmlns:d2p1="http://schemas.datacontract.org/2004/07/Dealerportal.Shared.Models">
<d2p1:UserRolePermissions>
<d2p1:_x003C_SecuobjectsId_x003E_k__BackingField>1</d2p1:_x003C_SecuobjectsId_x003E_k__BackingField>
<d2p1:_x003C_UserPermissions_x003E_k__BackingField>Read</d2p1:_x003C_UserPermissions_x003E_k__BackingField>
</d2p1:UserRolePermissions>
<d2p1:UserRolePermissions>
<d2p1:_x003C_SecuobjectsId_x003E_k__BackingField>1</d2p1:_x003C_SecuobjectsId_x003E_k__BackingField>
<d2p1:_x003C_UserPermissions_x003E_k__BackingField>Read</d2p1:_x003C_UserPermissions_x003E_k__BackingField>
</d2p1:UserRolePermissions>
</UserRights>
</UserViewModel>