POST api/AKService/GetGiftCategorysGitfs

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

AngellAPIResultOfGiftObjects
NameDescriptionTypeAdditional information
Result

GiftObjects

None.

IsOperationSuccess

boolean

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {
    "categorys": [
      {
        "id": 1,
        "name": "sample string 2",
        "sort": 3
      },
      {
        "id": 1,
        "name": "sample string 2",
        "sort": 3
      }
    ],
    "gifts": [
      {
        "id": 1,
        "name": "sample string 2",
        "photourl": "sample string 3",
        "price": 4,
        "introduction": "sample string 5",
        "category": 6
      },
      {
        "id": 1,
        "name": "sample string 2",
        "photourl": "sample string 3",
        "price": 4,
        "introduction": "sample string 5",
        "category": 6
      }
    ]
  },
  "IsOperationSuccess": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<AngellAPIResultOfGiftObjectsDH5CykXi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AK.WebApi.Api">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsOperationSuccess>true</IsOperationSuccess>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/AK.WebApi.Model.AKServiceModel">
    <d2p1:categorys xmlns:d3p1="http://schemas.datacontract.org/2004/07/AK.WebApi.Model">
      <d3p1:kkzb_giftcategory>
        <d3p1:id>1</d3p1:id>
        <d3p1:name>sample string 2</d3p1:name>
        <d3p1:sort>3</d3p1:sort>
      </d3p1:kkzb_giftcategory>
      <d3p1:kkzb_giftcategory>
        <d3p1:id>1</d3p1:id>
        <d3p1:name>sample string 2</d3p1:name>
        <d3p1:sort>3</d3p1:sort>
      </d3p1:kkzb_giftcategory>
    </d2p1:categorys>
    <d2p1:gifts xmlns:d3p1="http://schemas.datacontract.org/2004/07/AK.WebApi.Model">
      <d3p1:kkzb_gifts>
        <d3p1:category>6</d3p1:category>
        <d3p1:id>1</d3p1:id>
        <d3p1:introduction>sample string 5</d3p1:introduction>
        <d3p1:name>sample string 2</d3p1:name>
        <d3p1:photourl>sample string 3</d3p1:photourl>
        <d3p1:price>4</d3p1:price>
      </d3p1:kkzb_gifts>
      <d3p1:kkzb_gifts>
        <d3p1:category>6</d3p1:category>
        <d3p1:id>1</d3p1:id>
        <d3p1:introduction>sample string 5</d3p1:introduction>
        <d3p1:name>sample string 2</d3p1:name>
        <d3p1:photourl>sample string 3</d3p1:photourl>
        <d3p1:price>4</d3p1:price>
      </d3p1:kkzb_gifts>
    </d2p1:gifts>
  </Result>
</AngellAPIResultOfGiftObjectsDH5CykXi>