GET api/CrmInfo/GetProductMenuList?uid={uid}&oid={oid}

“GetProductMenuList”的文档。

Request Information

Parameters

NameDescriptionAdditional information
uid
“uid”的文档。

Define this parameter in the request URI.

oid
“oid”的文档。

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "CheckBoxs": [
    {
      "SPId": 1,
      "PId": 2,
      "Price": 3.0,
      "IsTrue": true
    },
    {
      "SPId": 1,
      "PId": 2,
      "Price": 3.0,
      "IsTrue": true
    },
    {
      "SPId": 1,
      "PId": 2,
      "Price": 3.0,
      "IsTrue": true
    }
  ],
  "Menus": [
    {
      "MenuName": "sample string 1",
      "Items": [
        {
          "Id": 1,
          "SPId": 2,
          "Name": "sample string 3",
          "Price": 4.0,
          "Checked": true
        },
        {
          "Id": 1,
          "SPId": 2,
          "Name": "sample string 3",
          "Price": 4.0,
          "Checked": true
        },
        {
          "Id": 1,
          "SPId": 2,
          "Name": "sample string 3",
          "Price": 4.0,
          "Checked": true
        }
      ]
    },
    {
      "MenuName": "sample string 1",
      "Items": [
        {
          "Id": 1,
          "SPId": 2,
          "Name": "sample string 3",
          "Price": 4.0,
          "Checked": true
        },
        {
          "Id": 1,
          "SPId": 2,
          "Name": "sample string 3",
          "Price": 4.0,
          "Checked": true
        },
        {
          "Id": 1,
          "SPId": 2,
          "Name": "sample string 3",
          "Price": 4.0,
          "Checked": true
        }
      ]
    },
    {
      "MenuName": "sample string 1",
      "Items": [
        {
          "Id": 1,
          "SPId": 2,
          "Name": "sample string 3",
          "Price": 4.0,
          "Checked": true
        },
        {
          "Id": 1,
          "SPId": 2,
          "Name": "sample string 3",
          "Price": 4.0,
          "Checked": true
        },
        {
          "Id": 1,
          "SPId": 2,
          "Name": "sample string 3",
          "Price": 4.0,
          "Checked": true
        }
      ]
    }
  ],
  "Ids": [
    1,
    2,
    3
  ]
}

application/xml, text/xml

Sample:
<MenusModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TyretoolMail.Models">
  <CheckBoxs>
    <CheckBoxModel>
      <IsTrue>true</IsTrue>
      <PId>2</PId>
      <Price>3</Price>
      <SPId>1</SPId>
    </CheckBoxModel>
    <CheckBoxModel>
      <IsTrue>true</IsTrue>
      <PId>2</PId>
      <Price>3</Price>
      <SPId>1</SPId>
    </CheckBoxModel>
    <CheckBoxModel>
      <IsTrue>true</IsTrue>
      <PId>2</PId>
      <Price>3</Price>
      <SPId>1</SPId>
    </CheckBoxModel>
  </CheckBoxs>
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </Ids>
  <Menus>
    <ProductMenusModel>
      <Items>
        <ProductMenuModel>
          <Checked>true</Checked>
          <Id>1</Id>
          <Name>sample string 3</Name>
          <Price>4</Price>
          <SPId>2</SPId>
        </ProductMenuModel>
        <ProductMenuModel>
          <Checked>true</Checked>
          <Id>1</Id>
          <Name>sample string 3</Name>
          <Price>4</Price>
          <SPId>2</SPId>
        </ProductMenuModel>
        <ProductMenuModel>
          <Checked>true</Checked>
          <Id>1</Id>
          <Name>sample string 3</Name>
          <Price>4</Price>
          <SPId>2</SPId>
        </ProductMenuModel>
      </Items>
      <MenuName>sample string 1</MenuName>
    </ProductMenusModel>
    <ProductMenusModel>
      <Items>
        <ProductMenuModel>
          <Checked>true</Checked>
          <Id>1</Id>
          <Name>sample string 3</Name>
          <Price>4</Price>
          <SPId>2</SPId>
        </ProductMenuModel>
        <ProductMenuModel>
          <Checked>true</Checked>
          <Id>1</Id>
          <Name>sample string 3</Name>
          <Price>4</Price>
          <SPId>2</SPId>
        </ProductMenuModel>
        <ProductMenuModel>
          <Checked>true</Checked>
          <Id>1</Id>
          <Name>sample string 3</Name>
          <Price>4</Price>
          <SPId>2</SPId>
        </ProductMenuModel>
      </Items>
      <MenuName>sample string 1</MenuName>
    </ProductMenusModel>
    <ProductMenusModel>
      <Items>
        <ProductMenuModel>
          <Checked>true</Checked>
          <Id>1</Id>
          <Name>sample string 3</Name>
          <Price>4</Price>
          <SPId>2</SPId>
        </ProductMenuModel>
        <ProductMenuModel>
          <Checked>true</Checked>
          <Id>1</Id>
          <Name>sample string 3</Name>
          <Price>4</Price>
          <SPId>2</SPId>
        </ProductMenuModel>
        <ProductMenuModel>
          <Checked>true</Checked>
          <Id>1</Id>
          <Name>sample string 3</Name>
          <Price>4</Price>
          <SPId>2</SPId>
        </ProductMenuModel>
      </Items>
      <MenuName>sample string 1</MenuName>
    </ProductMenusModel>
  </Menus>
</MenusModel>