GET users/gethistorymapinfo?id={id}&role={role}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| role | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MapDefinitionParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId | integer |
None. |
|
| FullName | string |
None. |
|
| Clients | Collection of CompanyMember |
None. |
|
| Curiers | Collection of CompanyMember |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"companyId": 1,
"fullName": "sample string 2",
"clients": [
{
"id": 1,
"fullName": "sample string 2"
},
{
"id": 1,
"fullName": "sample string 2"
}
],
"curiers": [
{
"id": 1,
"fullName": "sample string 2"
},
{
"id": 1,
"fullName": "sample string 2"
}
]
},
{
"companyId": 1,
"fullName": "sample string 2",
"clients": [
{
"id": 1,
"fullName": "sample string 2"
},
{
"id": 1,
"fullName": "sample string 2"
}
],
"curiers": [
{
"id": 1,
"fullName": "sample string 2"
},
{
"id": 1,
"fullName": "sample string 2"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfMapDefinitionParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Clickoapp2.Shared.ViewModels">
<MapDefinitionParameters>
<Clients>
<CompanyMember>
<FullName>sample string 2</FullName>
<Id>1</Id>
</CompanyMember>
<CompanyMember>
<FullName>sample string 2</FullName>
<Id>1</Id>
</CompanyMember>
</Clients>
<CompanyId>1</CompanyId>
<Curiers>
<CompanyMember>
<FullName>sample string 2</FullName>
<Id>1</Id>
</CompanyMember>
<CompanyMember>
<FullName>sample string 2</FullName>
<Id>1</Id>
</CompanyMember>
</Curiers>
<FullName>sample string 2</FullName>
</MapDefinitionParameters>
<MapDefinitionParameters>
<Clients>
<CompanyMember>
<FullName>sample string 2</FullName>
<Id>1</Id>
</CompanyMember>
<CompanyMember>
<FullName>sample string 2</FullName>
<Id>1</Id>
</CompanyMember>
</Clients>
<CompanyId>1</CompanyId>
<Curiers>
<CompanyMember>
<FullName>sample string 2</FullName>
<Id>1</Id>
</CompanyMember>
<CompanyMember>
<FullName>sample string 2</FullName>
<Id>1</Id>
</CompanyMember>
</Curiers>
<FullName>sample string 2</FullName>
</MapDefinitionParameters>
</ArrayOfMapDefinitionParameters>