GET api/CM001?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
获取经销商列表
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DomainId |
域Id |
globally unique identifier |
None. |
| AccountId |
账户Id |
globally unique identifier |
None. |
| PersonId |
人员Id |
globally unique identifier |
None. |
Body Parameters
None.
Response Information
Resource Description
ResultModelOfIEnumerableOfCM001ViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | ReturnCode |
None. |
|
| Message | string |
None. |
|
| Data | Collection of CM001ViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 200,
"Message": "sample string 1",
"Data": [
{
"LesseeCMKey": "sample string 1",
"LesseeCMValue": "sample string 2"
},
{
"LesseeCMKey": "sample string 1",
"LesseeCMValue": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<ResultModelOfArrayOfCM001ViewModelqIcfBo3r xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility">
<Code>Success</Code>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/JT.VSFA.App.WebAPI.Areas.MDM.ViewModel">
<d2p1:CM001ViewModel>
<d2p1:LesseeCMKey>sample string 1</d2p1:LesseeCMKey>
<d2p1:LesseeCMValue>sample string 2</d2p1:LesseeCMValue>
</d2p1:CM001ViewModel>
<d2p1:CM001ViewModel>
<d2p1:LesseeCMKey>sample string 1</d2p1:LesseeCMKey>
<d2p1:LesseeCMValue>sample string 2</d2p1:LesseeCMValue>
</d2p1:CM001ViewModel>
</Data>
<Message>sample string 1</Message>
</ResultModelOfArrayOfCM001ViewModelqIcfBo3r>