POST api/GetThresholdListAdminAPI

Request Information

URI Parameters

None.

Body Parameters

RequestBaseCustomObjectOfThreshold
NameDescriptionTypeAdditional information
LoggedInUserID

integer

None.

AccessToken

string

None.

ClientTag

string

None.

DeviceUDID

string

None.

Version

string

None.

SearchItems

Collection of Threshold

None.

SearchItem

Threshold

None.

Request Formats

application/json, text/json

Sample:
{
  "LoggedInUserID": 1,
  "AccessToken": "sample string 2",
  "ClientTag": "sample string 3",
  "DeviceUDID": "sample string 4",
  "Version": "sample string 5",
  "SearchItems": [
    {
      "ThresholdID": 1,
      "CountryID": 2,
      "CountryName": "sample string 3",
      "ThresholdValue": 4.0,
      "ThresholdValueStr": "sample string 5",
      "IsApplyForAll": true,
      "sortIndex": 7,
      "sortDirection": true
    },
    {
      "ThresholdID": 1,
      "CountryID": 2,
      "CountryName": "sample string 3",
      "ThresholdValue": 4.0,
      "ThresholdValueStr": "sample string 5",
      "IsApplyForAll": true,
      "sortIndex": 7,
      "sortDirection": true
    }
  ],
  "SearchItem": {
    "ThresholdID": 1,
    "CountryID": 2,
    "CountryName": "sample string 3",
    "ThresholdValue": 4.0,
    "ThresholdValueStr": "sample string 5",
    "IsApplyForAll": true,
    "sortIndex": 7,
    "sortDirection": true
  }
}

application/xml, text/xml

Sample:
<RequestBaseCustomObjectOfThresholdVzfR4SGJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GENBASAN.API.Models.Base">
  <AccessToken>sample string 2</AccessToken>
  <ClientTag>sample string 3</ClientTag>
  <DeviceUDID>sample string 4</DeviceUDID>
  <LoggedInUserID>1</LoggedInUserID>
  <SearchItem xmlns:d2p1="http://schemas.datacontract.org/2004/07/GENBASAN.Entities">
    <d2p1:CountryID>2</d2p1:CountryID>
    <d2p1:CountryName>sample string 3</d2p1:CountryName>
    <d2p1:IsApplyForAll>true</d2p1:IsApplyForAll>
    <d2p1:ThresholdID>1</d2p1:ThresholdID>
    <d2p1:ThresholdValue>4</d2p1:ThresholdValue>
    <d2p1:ThresholdValueStr>sample string 5</d2p1:ThresholdValueStr>
    <d2p1:sortDirection>true</d2p1:sortDirection>
    <d2p1:sortIndex>7</d2p1:sortIndex>
  </SearchItem>
  <SearchItems xmlns:d2p1="http://schemas.datacontract.org/2004/07/GENBASAN.Entities">
    <d2p1:Threshold>
      <d2p1:CountryID>2</d2p1:CountryID>
      <d2p1:CountryName>sample string 3</d2p1:CountryName>
      <d2p1:IsApplyForAll>true</d2p1:IsApplyForAll>
      <d2p1:ThresholdID>1</d2p1:ThresholdID>
      <d2p1:ThresholdValue>4</d2p1:ThresholdValue>
      <d2p1:ThresholdValueStr>sample string 5</d2p1:ThresholdValueStr>
      <d2p1:sortDirection>true</d2p1:sortDirection>
      <d2p1:sortIndex>7</d2p1:sortIndex>
    </d2p1:Threshold>
    <d2p1:Threshold>
      <d2p1:CountryID>2</d2p1:CountryID>
      <d2p1:CountryName>sample string 3</d2p1:CountryName>
      <d2p1:IsApplyForAll>true</d2p1:IsApplyForAll>
      <d2p1:ThresholdID>1</d2p1:ThresholdID>
      <d2p1:ThresholdValue>4</d2p1:ThresholdValue>
      <d2p1:ThresholdValueStr>sample string 5</d2p1:ThresholdValueStr>
      <d2p1:sortDirection>true</d2p1:sortDirection>
      <d2p1:sortIndex>7</d2p1:sortIndex>
    </d2p1:Threshold>
  </SearchItems>
  <Version>sample string 5</Version>
</RequestBaseCustomObjectOfThresholdVzfR4SGJ>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="LoggedInUserID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="AccessToken"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ClientTag"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="DeviceUDID"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Version"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItems[0].ThresholdID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItems[0].CountryID"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItems[0].CountryName"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItems[0].ThresholdValue"

4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItems[0].ThresholdValueStr"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItems[0].IsApplyForAll"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItems[0].sortIndex"

7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItems[0].sortDirection"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItems[1].ThresholdID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItems[1].CountryID"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItems[1].CountryName"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItems[1].ThresholdValue"

4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItems[1].ThresholdValueStr"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItems[1].IsApplyForAll"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItems[1].sortIndex"

7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItems[1].sortDirection"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItem.ThresholdID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItem.CountryID"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItem.CountryName"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItem.ThresholdValue"

4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItem.ThresholdValueStr"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItem.IsApplyForAll"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItem.sortIndex"

7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SearchItem.sortDirection"

True
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

ResponseBaseCustomObjectOfThreshold
NameDescriptionTypeAdditional information
status

boolean

None.

returnVal

integer

None.

message

string

None.

messageKey

string

None.

resultData

string

None.

items

Collection of Threshold

None.

item

Threshold

None.

itemTable

DataTable

None.

totalRecordCount

integer

None.

INSERT

integer

None.

UPDATE

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "returnVal": 2,
  "message": "sample string 3",
  "messageKey": "sample string 4",
  "resultData": "sample string 5",
  "items": [
    {
      "ThresholdID": 1,
      "CountryID": 2,
      "CountryName": "sample string 3",
      "ThresholdValue": 4.0,
      "ThresholdValueStr": "sample string 5",
      "IsApplyForAll": true,
      "sortIndex": 7,
      "sortDirection": true
    },
    {
      "ThresholdID": 1,
      "CountryID": 2,
      "CountryName": "sample string 3",
      "ThresholdValue": 4.0,
      "ThresholdValueStr": "sample string 5",
      "IsApplyForAll": true,
      "sortIndex": 7,
      "sortDirection": true
    }
  ],
  "item": {
    "ThresholdID": 1,
    "CountryID": 2,
    "CountryName": "sample string 3",
    "ThresholdValue": 4.0,
    "ThresholdValueStr": "sample string 5",
    "IsApplyForAll": true,
    "sortIndex": 7,
    "sortDirection": true
  },
  "itemTable": null,
  "totalRecordCount": 6,
  "INSERT": 7,
  "UPDATE": 8
}

application/xml, text/xml

Sample:
<ResponseBaseCustomObjectOfThresholdVzfR4SGJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GENBASAN.API.Models.Base">
  <INSERT>7</INSERT>
  <UPDATE>8</UPDATE>
  <item xmlns:d2p1="http://schemas.datacontract.org/2004/07/GENBASAN.Entities">
    <d2p1:CountryID>2</d2p1:CountryID>
    <d2p1:CountryName>sample string 3</d2p1:CountryName>
    <d2p1:IsApplyForAll>true</d2p1:IsApplyForAll>
    <d2p1:ThresholdID>1</d2p1:ThresholdID>
    <d2p1:ThresholdValue>4</d2p1:ThresholdValue>
    <d2p1:ThresholdValueStr>sample string 5</d2p1:ThresholdValueStr>
    <d2p1:sortDirection>true</d2p1:sortDirection>
    <d2p1:sortIndex>7</d2p1:sortIndex>
  </item>
  <itemTable i:nil="true" />
  <items xmlns:d2p1="http://schemas.datacontract.org/2004/07/GENBASAN.Entities">
    <d2p1:Threshold>
      <d2p1:CountryID>2</d2p1:CountryID>
      <d2p1:CountryName>sample string 3</d2p1:CountryName>
      <d2p1:IsApplyForAll>true</d2p1:IsApplyForAll>
      <d2p1:ThresholdID>1</d2p1:ThresholdID>
      <d2p1:ThresholdValue>4</d2p1:ThresholdValue>
      <d2p1:ThresholdValueStr>sample string 5</d2p1:ThresholdValueStr>
      <d2p1:sortDirection>true</d2p1:sortDirection>
      <d2p1:sortIndex>7</d2p1:sortIndex>
    </d2p1:Threshold>
    <d2p1:Threshold>
      <d2p1:CountryID>2</d2p1:CountryID>
      <d2p1:CountryName>sample string 3</d2p1:CountryName>
      <d2p1:IsApplyForAll>true</d2p1:IsApplyForAll>
      <d2p1:ThresholdID>1</d2p1:ThresholdID>
      <d2p1:ThresholdValue>4</d2p1:ThresholdValue>
      <d2p1:ThresholdValueStr>sample string 5</d2p1:ThresholdValueStr>
      <d2p1:sortDirection>true</d2p1:sortDirection>
      <d2p1:sortIndex>7</d2p1:sortIndex>
    </d2p1:Threshold>
  </items>
  <message>sample string 3</message>
  <messageKey>sample string 4</messageKey>
  <resultData>sample string 5</resultData>
  <returnVal>2</returnVal>
  <status>true</status>
  <totalRecordCount>6</totalRecordCount>
</ResponseBaseCustomObjectOfThresholdVzfR4SGJ>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="status"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="returnVal"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="message"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="messageKey"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="resultData"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="items[0].ThresholdID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="items[0].CountryID"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="items[0].CountryName"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="items[0].ThresholdValue"

4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="items[0].ThresholdValueStr"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="items[0].IsApplyForAll"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="items[0].sortIndex"

7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="items[0].sortDirection"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="items[1].ThresholdID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="items[1].CountryID"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="items[1].CountryName"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="items[1].ThresholdValue"

4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="items[1].ThresholdValueStr"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="items[1].IsApplyForAll"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="items[1].sortIndex"

7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="items[1].sortDirection"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="item.ThresholdID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="item.CountryID"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="item.CountryName"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="item.ThresholdValue"

4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="item.ThresholdValueStr"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="item.IsApplyForAll"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="item.sortIndex"

7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="item.sortDirection"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="totalRecordCount"

6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="INSERT"

7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="UPDATE"

8
--MultipartDataMediaFormatterBoundary1q2w3e--