POST api/Admin/MoveToPendingPool

Request Information

URI Parameters

None.

Body Parameters

Collection of MoveToPendingPoolModel
Name Description Type Additional information
Imei

string

None.

UnassignServiceProvider

boolean

None.

DeviceId

integer

None.

PreviousPoolId

integer

None.

Reason

string

None.

MaintenanceId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Imei": "sample string 1",
    "UnassignServiceProvider": true,
    "DeviceId": 3,
    "PreviousPoolId": 4,
    "Reason": "sample string 5",
    "MaintenanceId": 6
  },
  {
    "Imei": "sample string 1",
    "UnassignServiceProvider": true,
    "DeviceId": 3,
    "PreviousPoolId": 4,
    "Reason": "sample string 5",
    "MaintenanceId": 6
  }
]

text/html

Sample:
[{"Imei":"sample string 1","UnassignServiceProvider":true,"DeviceId":3,"PreviousPoolId":4,"Reason":"sample string 5","MaintenanceId":6},{"Imei":"sample string 1","UnassignServiceProvider":true,"DeviceId":3,"PreviousPoolId":4,"Reason":"sample string 5","MaintenanceId":6}]

application/xml, text/xml

Sample:
<ArrayOfMoveToPendingPoolModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mediahuis.Models.Admin">
  <MoveToPendingPoolModel>
    <DeviceId>3</DeviceId>
    <MaintenanceId>6</MaintenanceId>
    <PreviousPoolId>4</PreviousPoolId>
    <Reason>sample string 5</Reason>
    <Imei>sample string 1</Imei>
    <UnassignServiceProvider>true</UnassignServiceProvider>
  </MoveToPendingPoolModel>
  <MoveToPendingPoolModel>
    <DeviceId>3</DeviceId>
    <MaintenanceId>6</MaintenanceId>
    <PreviousPoolId>4</PreviousPoolId>
    <Reason>sample string 5</Reason>
    <Imei>sample string 1</Imei>
    <UnassignServiceProvider>true</UnassignServiceProvider>
  </MoveToPendingPoolModel>
</ArrayOfMoveToPendingPoolModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.