POST api/Admin/MoveToActivePool
Request Information
URI Parameters
None.
Body Parameters
Collection of MoveToActivePoolModelName | Description | Type | Additional information |
---|---|---|---|
OldGroupId | integer |
None. |
|
NewGroupId | integer |
None. |
|
ServiceProviderId | integer |
None. |
|
DeviceId | integer |
None. |
|
PreviousPoolId | integer |
None. |
|
Reason | string |
None. |
|
MaintenanceId | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "OldGroupId": 1, "NewGroupId": 2, "ServiceProviderId": 3, "DeviceId": 4, "PreviousPoolId": 5, "Reason": "sample string 6", "MaintenanceId": 7 }, { "OldGroupId": 1, "NewGroupId": 2, "ServiceProviderId": 3, "DeviceId": 4, "PreviousPoolId": 5, "Reason": "sample string 6", "MaintenanceId": 7 } ]
text/html
Sample:
[{"OldGroupId":1,"NewGroupId":2,"ServiceProviderId":3,"DeviceId":4,"PreviousPoolId":5,"Reason":"sample string 6","MaintenanceId":7},{"OldGroupId":1,"NewGroupId":2,"ServiceProviderId":3,"DeviceId":4,"PreviousPoolId":5,"Reason":"sample string 6","MaintenanceId":7}]
application/xml, text/xml
Sample:
<ArrayOfMoveToActivePoolModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Models.Admin"> <MoveToActivePoolModel> <DeviceId>4</DeviceId> <MaintenanceId>7</MaintenanceId> <PreviousPoolId>5</PreviousPoolId> <Reason>sample string 6</Reason> <NewGroupId>2</NewGroupId> <OldGroupId>1</OldGroupId> <ServiceProviderId>3</ServiceProviderId> </MoveToActivePoolModel> <MoveToActivePoolModel> <DeviceId>4</DeviceId> <MaintenanceId>7</MaintenanceId> <PreviousPoolId>5</PreviousPoolId> <Reason>sample string 6</Reason> <NewGroupId>2</NewGroupId> <OldGroupId>1</OldGroupId> <ServiceProviderId>3</ServiceProviderId> </MoveToActivePoolModel> </ArrayOfMoveToActivePoolModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.