POST api/NineBox/GetNineBox?moduleId={moduleId}&menuId={menuId}&username={username}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
moduleId

integer

Required

menuId

integer

Required

username

string

Required

Body Parameters

Object

None.

Request Formats

application/json, text/json

Sample:
{}

application/xml, text/xml, multipart/form-data

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Object'.

Response Information

Resource Description

Collection of Collection of NineBoxData

Response Formats

application/json, text/json

Sample:
[
  [
    {
      "Frequency": "sample string 1",
      "Volume": "sample string 2",
      "Value": 3,
      "FontColor": "sample string 4",
      "BackgroundColor": "sample string 5",
      "SubText": "sample string 6"
    },
    {
      "Frequency": "sample string 1",
      "Volume": "sample string 2",
      "Value": 3,
      "FontColor": "sample string 4",
      "BackgroundColor": "sample string 5",
      "SubText": "sample string 6"
    }
  ],
  [
    {
      "Frequency": "sample string 1",
      "Volume": "sample string 2",
      "Value": 3,
      "FontColor": "sample string 4",
      "BackgroundColor": "sample string 5",
      "SubText": "sample string 6"
    },
    {
      "Frequency": "sample string 1",
      "Volume": "sample string 2",
      "Value": 3,
      "FontColor": "sample string 4",
      "BackgroundColor": "sample string 5",
      "SubText": "sample string 6"
    }
  ]
]

application/xml, text/xml

Sample:
<ArrayOfArrayOfNineBoxData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMBS.DO.Models">
  <ArrayOfNineBoxData>
    <NineBoxData>
      <BackgroundColor>sample string 5</BackgroundColor>
      <FontColor>sample string 4</FontColor>
      <Frequency>sample string 1</Frequency>
      <SubText>sample string 6</SubText>
      <Value>3</Value>
      <Volume>sample string 2</Volume>
    </NineBoxData>
    <NineBoxData>
      <BackgroundColor>sample string 5</BackgroundColor>
      <FontColor>sample string 4</FontColor>
      <Frequency>sample string 1</Frequency>
      <SubText>sample string 6</SubText>
      <Value>3</Value>
      <Volume>sample string 2</Volume>
    </NineBoxData>
  </ArrayOfNineBoxData>
  <ArrayOfNineBoxData>
    <NineBoxData>
      <BackgroundColor>sample string 5</BackgroundColor>
      <FontColor>sample string 4</FontColor>
      <Frequency>sample string 1</Frequency>
      <SubText>sample string 6</SubText>
      <Value>3</Value>
      <Volume>sample string 2</Volume>
    </NineBoxData>
    <NineBoxData>
      <BackgroundColor>sample string 5</BackgroundColor>
      <FontColor>sample string 4</FontColor>
      <Frequency>sample string 1</Frequency>
      <SubText>sample string 6</SubText>
      <Value>3</Value>
      <Volume>sample string 2</Volume>
    </NineBoxData>
  </ArrayOfNineBoxData>
</ArrayOfArrayOfNineBoxData>

multipart/form-data

Sample:
<ArrayOfArrayOfNineBoxData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMBS.DO.Models"><ArrayOfNineBoxData><NineBoxData><BackgroundColor>sample string 5</BackgroundColor><FontColor>sample string 4</FontColor><Frequency>sample string 1</Frequency><SubText>sample string 6</SubText><Value>3</Value><Volume>sample string 2</Volume></NineBoxData><NineBoxData><BackgroundColor>sample string 5</BackgroundColor><FontColor>sample string 4</FontColor><Frequency>sample string 1</Frequency><SubText>sample string 6</SubText><Value>3</Value><Volume>sample string 2</Volume></NineBoxData></ArrayOfNineBoxData><ArrayOfNineBoxData><NineBoxData><BackgroundColor>sample string 5</BackgroundColor><FontColor>sample string 4</FontColor><Frequency>sample string 1</Frequency><SubText>sample string 6</SubText><Value>3</Value><Volume>sample string 2</Volume></NineBoxData><NineBoxData><BackgroundColor>sample string 5</BackgroundColor><FontColor>sample string 4</FontColor><Frequency>sample string 1</Frequency><SubText>sample string 6</SubText><Value>3</Value><Volume>sample string 2</Volume></NineBoxData></ArrayOfNineBoxData></ArrayOfArrayOfNineBoxData>