POST api/Service/LoadService?CustID={CustID}&CookCode={CookCode}

【可用】服务-个人服务加载

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CustID

用户ID

string

Required

CookCode

登录token

string

Required

Body Parameters

None.

Response Information

Resource Description

RequestResultOfServiceList
NameDescriptionTypeAdditional information
ResultCode

integer

None.

Message

string

None.

Data

ServiceList

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "Message": "sample string 2",
  "Data": {
    "ServiceNum": 1,
    "MoreIconListItem": [
      {
        "ServiceID": 1,
        "ServiceName": "sample string 2",
        "ServiceTag": "sample string 3",
        "CategoryID": 1,
        "CategoryName": "sample string 4",
        "Icon": "sample string 5",
        "ServiceURL": "sample string 6",
        "Desc": "sample string 7",
        "IsChecked": 8,
        "SortNo": 1,
        "IsLogin": true
      },
      {
        "ServiceID": 1,
        "ServiceName": "sample string 2",
        "ServiceTag": "sample string 3",
        "CategoryID": 1,
        "CategoryName": "sample string 4",
        "Icon": "sample string 5",
        "ServiceURL": "sample string 6",
        "Desc": "sample string 7",
        "IsChecked": 8,
        "SortNo": 1,
        "IsLogin": true
      }
    ],
    "ServiceListItem": [
      {
        "ServiceID": 1,
        "ServiceName": "sample string 2",
        "ServiceTag": "sample string 3",
        "CategoryID": 1,
        "CategoryName": "sample string 4",
        "Icon": "sample string 5",
        "ServiceURL": "sample string 6",
        "Desc": "sample string 7",
        "IsChecked": 8,
        "SortNo": 1,
        "IsLogin": true
      },
      {
        "ServiceID": 1,
        "ServiceName": "sample string 2",
        "ServiceTag": "sample string 3",
        "CategoryID": 1,
        "CategoryName": "sample string 4",
        "Icon": "sample string 5",
        "ServiceURL": "sample string 6",
        "Desc": "sample string 7",
        "IsChecked": 8,
        "SortNo": 1,
        "IsLogin": true
      }
    ],
    "ServiceListItemAll": [
      {
        "ServiceID": 1,
        "ServiceName": "sample string 2",
        "ServiceTag": "sample string 3",
        "CategoryID": 1,
        "CategoryName": "sample string 4",
        "Icon": "sample string 5",
        "ServiceURL": "sample string 6",
        "Desc": "sample string 7",
        "IsChecked": 8,
        "SortNo": 1,
        "IsLogin": true
      },
      {
        "ServiceID": 1,
        "ServiceName": "sample string 2",
        "ServiceTag": "sample string 3",
        "CategoryID": 1,
        "CategoryName": "sample string 4",
        "Icon": "sample string 5",
        "ServiceURL": "sample string 6",
        "Desc": "sample string 7",
        "IsChecked": 8,
        "SortNo": 1,
        "IsLogin": true
      }
    ]
  }
}

text/html

Sample:
{"ResultCode":1,"Message":"sample string 2","Data":{"ServiceNum":1,"MoreIconListItem":[{"ServiceID":1,"ServiceName":"sample string 2","ServiceTag":"sample string 3","CategoryID":1,"CategoryName":"sample string 4","Icon":"sample string 5","ServiceURL":"sample string 6","Desc":"sample string 7","IsChecked":8,"SortNo":1,"IsLogin":true},{"ServiceID":1,"ServiceName":"sample string 2","ServiceTag":"sample string 3","CategoryID":1,"CategoryName":"sample string 4","Icon":"sample string 5","ServiceURL":"sample string 6","Desc":"sample string 7","IsChecked":8,"SortNo":1,"IsLogin":true}],"ServiceListItem":[{"ServiceID":1,"ServiceName":"sample string 2","ServiceTag":"sample string 3","CategoryID":1,"CategoryName":"sample string 4","Icon":"sample string 5","ServiceURL":"sample string 6","Desc":"sample string 7","IsChecked":8,"SortNo":1,"IsLogin":true},{"ServiceID":1,"ServiceName":"sample string 2","ServiceTag":"sample string 3","CategoryID":1,"CategoryName":"sample string 4","Icon":"sample string 5","ServiceURL":"sample string 6","Desc":"sample string 7","IsChecked":8,"SortNo":1,"IsLogin":true}],"ServiceListItemAll":[{"ServiceID":1,"ServiceName":"sample string 2","ServiceTag":"sample string 3","CategoryID":1,"CategoryName":"sample string 4","Icon":"sample string 5","ServiceURL":"sample string 6","Desc":"sample string 7","IsChecked":8,"SortNo":1,"IsLogin":true},{"ServiceID":1,"ServiceName":"sample string 2","ServiceTag":"sample string 3","CategoryID":1,"CategoryName":"sample string 4","Icon":"sample string 5","ServiceURL":"sample string 6","Desc":"sample string 7","IsChecked":8,"SortNo":1,"IsLogin":true}]}}

application/xml, text/xml

Sample:
<RequestResultOfServiceListLVEGsFhm 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:MoreIconListItem>
      <d2p1:ItemServiceList>
        <d2p1:CategoryID>1</d2p1:CategoryID>
        <d2p1:CategoryName>sample string 4</d2p1:CategoryName>
        <d2p1:Desc>sample string 7</d2p1:Desc>
        <d2p1:Icon>sample string 5</d2p1:Icon>
        <d2p1:IsChecked>8</d2p1:IsChecked>
        <d2p1:IsLogin>true</d2p1:IsLogin>
        <d2p1:ServiceID>1</d2p1:ServiceID>
        <d2p1:ServiceName>sample string 2</d2p1:ServiceName>
        <d2p1:ServiceTag>sample string 3</d2p1:ServiceTag>
        <d2p1:ServiceURL>sample string 6</d2p1:ServiceURL>
        <d2p1:SortNo>1</d2p1:SortNo>
      </d2p1:ItemServiceList>
      <d2p1:ItemServiceList>
        <d2p1:CategoryID>1</d2p1:CategoryID>
        <d2p1:CategoryName>sample string 4</d2p1:CategoryName>
        <d2p1:Desc>sample string 7</d2p1:Desc>
        <d2p1:Icon>sample string 5</d2p1:Icon>
        <d2p1:IsChecked>8</d2p1:IsChecked>
        <d2p1:IsLogin>true</d2p1:IsLogin>
        <d2p1:ServiceID>1</d2p1:ServiceID>
        <d2p1:ServiceName>sample string 2</d2p1:ServiceName>
        <d2p1:ServiceTag>sample string 3</d2p1:ServiceTag>
        <d2p1:ServiceURL>sample string 6</d2p1:ServiceURL>
        <d2p1:SortNo>1</d2p1:SortNo>
      </d2p1:ItemServiceList>
    </d2p1:MoreIconListItem>
    <d2p1:ServiceListItem>
      <d2p1:ItemServiceList>
        <d2p1:CategoryID>1</d2p1:CategoryID>
        <d2p1:CategoryName>sample string 4</d2p1:CategoryName>
        <d2p1:Desc>sample string 7</d2p1:Desc>
        <d2p1:Icon>sample string 5</d2p1:Icon>
        <d2p1:IsChecked>8</d2p1:IsChecked>
        <d2p1:IsLogin>true</d2p1:IsLogin>
        <d2p1:ServiceID>1</d2p1:ServiceID>
        <d2p1:ServiceName>sample string 2</d2p1:ServiceName>
        <d2p1:ServiceTag>sample string 3</d2p1:ServiceTag>
        <d2p1:ServiceURL>sample string 6</d2p1:ServiceURL>
        <d2p1:SortNo>1</d2p1:SortNo>
      </d2p1:ItemServiceList>
      <d2p1:ItemServiceList>
        <d2p1:CategoryID>1</d2p1:CategoryID>
        <d2p1:CategoryName>sample string 4</d2p1:CategoryName>
        <d2p1:Desc>sample string 7</d2p1:Desc>
        <d2p1:Icon>sample string 5</d2p1:Icon>
        <d2p1:IsChecked>8</d2p1:IsChecked>
        <d2p1:IsLogin>true</d2p1:IsLogin>
        <d2p1:ServiceID>1</d2p1:ServiceID>
        <d2p1:ServiceName>sample string 2</d2p1:ServiceName>
        <d2p1:ServiceTag>sample string 3</d2p1:ServiceTag>
        <d2p1:ServiceURL>sample string 6</d2p1:ServiceURL>
        <d2p1:SortNo>1</d2p1:SortNo>
      </d2p1:ItemServiceList>
    </d2p1:ServiceListItem>
    <d2p1:ServiceListItemAll>
      <d2p1:ItemServiceList>
        <d2p1:CategoryID>1</d2p1:CategoryID>
        <d2p1:CategoryName>sample string 4</d2p1:CategoryName>
        <d2p1:Desc>sample string 7</d2p1:Desc>
        <d2p1:Icon>sample string 5</d2p1:Icon>
        <d2p1:IsChecked>8</d2p1:IsChecked>
        <d2p1:IsLogin>true</d2p1:IsLogin>
        <d2p1:ServiceID>1</d2p1:ServiceID>
        <d2p1:ServiceName>sample string 2</d2p1:ServiceName>
        <d2p1:ServiceTag>sample string 3</d2p1:ServiceTag>
        <d2p1:ServiceURL>sample string 6</d2p1:ServiceURL>
        <d2p1:SortNo>1</d2p1:SortNo>
      </d2p1:ItemServiceList>
      <d2p1:ItemServiceList>
        <d2p1:CategoryID>1</d2p1:CategoryID>
        <d2p1:CategoryName>sample string 4</d2p1:CategoryName>
        <d2p1:Desc>sample string 7</d2p1:Desc>
        <d2p1:Icon>sample string 5</d2p1:Icon>
        <d2p1:IsChecked>8</d2p1:IsChecked>
        <d2p1:IsLogin>true</d2p1:IsLogin>
        <d2p1:ServiceID>1</d2p1:ServiceID>
        <d2p1:ServiceName>sample string 2</d2p1:ServiceName>
        <d2p1:ServiceTag>sample string 3</d2p1:ServiceTag>
        <d2p1:ServiceURL>sample string 6</d2p1:ServiceURL>
        <d2p1:SortNo>1</d2p1:SortNo>
      </d2p1:ItemServiceList>
    </d2p1:ServiceListItemAll>
    <d2p1:ServiceNum>1</d2p1:ServiceNum>
  </Data>
  <Message>sample string 2</Message>
  <ResultCode>1</ResultCode>
</RequestResultOfServiceListLVEGsFhm>