POST api/Service/RepairGoodsList?CookCode={CookCode}

【可用】服务-获取报修物品接口 下拉列表的物品

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CookCode

string

Required

Body Parameters

None.

Response Information

Resource Description

RequestResultOfListOfServiceRepairGoods
NameDescriptionTypeAdditional information
ResultCode

integer

None.

Message

string

None.

Data

Collection of ServiceRepairGoods

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "Message": "sample string 2",
  "Data": [
    {
      "GoodsID": "sample string 1",
      "GoodsName": "sample string 2",
      "SortNo": 3
    },
    {
      "GoodsID": "sample string 1",
      "GoodsName": "sample string 2",
      "SortNo": 3
    }
  ]
}

text/html

Sample:
{"ResultCode":1,"Message":"sample string 2","Data":[{"GoodsID":"sample string 1","GoodsName":"sample string 2","SortNo":3},{"GoodsID":"sample string 1","GoodsName":"sample string 2","SortNo":3}]}

application/xml, text/xml

Sample:
<RequestResultOfArrayOfServiceRepairGoodsLVEGsFhm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MF.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MF.WebApi.Models">
    <d2p1:ServiceRepairGoods>
      <d2p1:GoodsID>sample string 1</d2p1:GoodsID>
      <d2p1:GoodsName>sample string 2</d2p1:GoodsName>
      <d2p1:SortNo>3</d2p1:SortNo>
    </d2p1:ServiceRepairGoods>
    <d2p1:ServiceRepairGoods>
      <d2p1:GoodsID>sample string 1</d2p1:GoodsID>
      <d2p1:GoodsName>sample string 2</d2p1:GoodsName>
      <d2p1:SortNo>3</d2p1:SortNo>
    </d2p1:ServiceRepairGoods>
  </Data>
  <Message>sample string 2</Message>
  <ResultCode>1</ResultCode>
</RequestResultOfArrayOfServiceRepairGoodsLVEGsFhm>