GET api/Brand

获取经销商列表

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ResultModelOfIEnumerableOfBrandViewModel
NameDescriptionTypeAdditional information
Code

ReturnCode

None.

Message

string

None.

Data

Collection of BrandViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 200,
  "Message": "sample string 1",
  "Data": [
    {
      "BrandID": "38168391-6cdd-489c-8100-9554571b29bd",
      "BrandName": "sample string 1",
      "BrandCode": "sample string 2"
    },
    {
      "BrandID": "38168391-6cdd-489c-8100-9554571b29bd",
      "BrandName": "sample string 1",
      "BrandCode": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ResultModelOfArrayOfBrandViewModelqIcfBo3r 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:BrandViewModel>
      <d2p1:BrandCode>sample string 2</d2p1:BrandCode>
      <d2p1:BrandID>38168391-6cdd-489c-8100-9554571b29bd</d2p1:BrandID>
      <d2p1:BrandName>sample string 1</d2p1:BrandName>
    </d2p1:BrandViewModel>
    <d2p1:BrandViewModel>
      <d2p1:BrandCode>sample string 2</d2p1:BrandCode>
      <d2p1:BrandID>38168391-6cdd-489c-8100-9554571b29bd</d2p1:BrandID>
      <d2p1:BrandName>sample string 1</d2p1:BrandName>
    </d2p1:BrandViewModel>
  </Data>
  <Message>sample string 1</Message>
</ResultModelOfArrayOfBrandViewModelqIcfBo3r>