POST api/intl/action
Request Information
URI Parameters
None.
Body Parameters
FacilActionRequestName | Description | Type | Additional information |
---|---|---|---|
IdActionBy | integer |
None. |
|
IsOverride | boolean |
None. |
|
Data | Collection of FacilActionReq |
None. |
Request Formats
application/json, text/json
Sample:
{ "IdActionBy": 1, "IsOverride": true, "Data": [ { "Id": 1, "Phone": "sample string 2", "ICCID": "sample string 3", "Comment": "sample string 4", "IsRefund": true, "IsRevokeRefund": true, "IsResellPoolAndBlock": true, "IsResellPoolReset": true, "IsRequestRefundFromContel": true, "IsRefundGrantedByContel": true, "IsRemoveFromPool": true, "IsReset": true }, { "Id": 1, "Phone": "sample string 2", "ICCID": "sample string 3", "Comment": "sample string 4", "IsRefund": true, "IsRevokeRefund": true, "IsResellPoolAndBlock": true, "IsResellPoolReset": true, "IsRequestRefundFromContel": true, "IsRefundGrantedByContel": true, "IsRemoveFromPool": true, "IsReset": true } ] }
text/html
Sample:
{"IdActionBy":1,"IsOverride":true,"Data":[{"Id":1,"Phone":"sample string 2","ICCID":"sample string 3","Comment":"sample string 4","IsRefund":true,"IsRevokeRefund":true,"IsResellPoolAndBlock":true,"IsResellPoolReset":true,"IsRequestRefundFromContel":true,"IsRefundGrantedByContel":true,"IsRemoveFromPool":true,"IsReset":true},{"Id":1,"Phone":"sample string 2","ICCID":"sample string 3","Comment":"sample string 4","IsRefund":true,"IsRevokeRefund":true,"IsResellPoolAndBlock":true,"IsResellPoolReset":true,"IsRequestRefundFromContel":true,"IsRefundGrantedByContel":true,"IsRemoveFromPool":true,"IsReset":true}]}
application/xml, text/xml
Sample:
<FacilActionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube"> <Data> <FacilActionReq> <Comment>sample string 4</Comment> <ICCID>sample string 3</ICCID> <Id>1</Id> <IsRefund>true</IsRefund> <IsRefundGrantedByContel>true</IsRefundGrantedByContel> <IsRemoveFromPool>true</IsRemoveFromPool> <IsRequestRefundFromContel>true</IsRequestRefundFromContel> <IsResellPoolAndBlock>true</IsResellPoolAndBlock> <IsResellPoolReset>true</IsResellPoolReset> <IsReset>true</IsReset> <IsRevokeRefund>true</IsRevokeRefund> <Phone>sample string 2</Phone> </FacilActionReq> <FacilActionReq> <Comment>sample string 4</Comment> <ICCID>sample string 3</ICCID> <Id>1</Id> <IsRefund>true</IsRefund> <IsRefundGrantedByContel>true</IsRefundGrantedByContel> <IsRemoveFromPool>true</IsRemoveFromPool> <IsRequestRefundFromContel>true</IsRequestRefundFromContel> <IsResellPoolAndBlock>true</IsResellPoolAndBlock> <IsResellPoolReset>true</IsResellPoolReset> <IsReset>true</IsReset> <IsRevokeRefund>true</IsRevokeRefund> <Phone>sample string 2</Phone> </FacilActionReq> </Data> <IdActionBy>1</IdActionBy> <IsOverride>true</IsOverride> </FacilActionRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
FacilActionResponseName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of FacilActionRes |
None. |
|
ErrorMsg | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "Id": 1, "Phone": "sample string 2", "ICCID": "sample string 3", "IsRefundSuccess": { "Status": true, "Message": "sample string 2" }, "IsRevokeRefundSuccess": { "Status": true, "Message": "sample string 2" }, "IsResellPoolSuccess": { "Status": true, "Message": "sample string 2" }, "IsResellPoolResetSuccess": { "Status": true, "Message": "sample string 2" }, "IsRequestRefundFromContelSuccess": { "Status": true, "Message": "sample string 2" }, "IsRefundGrantedByContelSuccess": { "Status": true, "Message": "sample string 2" }, "IsResetSuccess": { "Status": true, "Message": "sample string 2" }, "IsRemoveFromPoolSuccess": { "Status": true, "Message": "sample string 2" } }, { "Id": 1, "Phone": "sample string 2", "ICCID": "sample string 3", "IsRefundSuccess": { "Status": true, "Message": "sample string 2" }, "IsRevokeRefundSuccess": { "Status": true, "Message": "sample string 2" }, "IsResellPoolSuccess": { "Status": true, "Message": "sample string 2" }, "IsResellPoolResetSuccess": { "Status": true, "Message": "sample string 2" }, "IsRequestRefundFromContelSuccess": { "Status": true, "Message": "sample string 2" }, "IsRefundGrantedByContelSuccess": { "Status": true, "Message": "sample string 2" }, "IsResetSuccess": { "Status": true, "Message": "sample string 2" }, "IsRemoveFromPoolSuccess": { "Status": true, "Message": "sample string 2" } } ], "ErrorMsg": "sample string 1" }
text/html
Sample:
{"Data":[{"Id":1,"Phone":"sample string 2","ICCID":"sample string 3","IsRefundSuccess":{"Status":true,"Message":"sample string 2"},"IsRevokeRefundSuccess":{"Status":true,"Message":"sample string 2"},"IsResellPoolSuccess":{"Status":true,"Message":"sample string 2"},"IsResellPoolResetSuccess":{"Status":true,"Message":"sample string 2"},"IsRequestRefundFromContelSuccess":{"Status":true,"Message":"sample string 2"},"IsRefundGrantedByContelSuccess":{"Status":true,"Message":"sample string 2"},"IsResetSuccess":{"Status":true,"Message":"sample string 2"},"IsRemoveFromPoolSuccess":{"Status":true,"Message":"sample string 2"}},{"Id":1,"Phone":"sample string 2","ICCID":"sample string 3","IsRefundSuccess":{"Status":true,"Message":"sample string 2"},"IsRevokeRefundSuccess":{"Status":true,"Message":"sample string 2"},"IsResellPoolSuccess":{"Status":true,"Message":"sample string 2"},"IsResellPoolResetSuccess":{"Status":true,"Message":"sample string 2"},"IsRequestRefundFromContelSuccess":{"Status":true,"Message":"sample string 2"},"IsRefundGrantedByContelSuccess":{"Status":true,"Message":"sample string 2"},"IsResetSuccess":{"Status":true,"Message":"sample string 2"},"IsRemoveFromPoolSuccess":{"Status":true,"Message":"sample string 2"}}],"ErrorMsg":"sample string 1"}
application/xml, text/xml
Sample:
<FacilActionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube"> <Data> <FacilActionRes> <ICCID>sample string 3</ICCID> <Id>1</Id> <IsRefundGrantedByContelSuccess> <Message>sample string 2</Message> <Status>true</Status> </IsRefundGrantedByContelSuccess> <IsRefundSuccess> <Message>sample string 2</Message> <Status>true</Status> </IsRefundSuccess> <IsRemoveFromPoolSuccess> <Message>sample string 2</Message> <Status>true</Status> </IsRemoveFromPoolSuccess> <IsRequestRefundFromContelSuccess> <Message>sample string 2</Message> <Status>true</Status> </IsRequestRefundFromContelSuccess> <IsResellPoolResetSuccess> <Message>sample string 2</Message> <Status>true</Status> </IsResellPoolResetSuccess> <IsResellPoolSuccess> <Message>sample string 2</Message> <Status>true</Status> </IsResellPoolSuccess> <IsResetSuccess> <Message>sample string 2</Message> <Status>true</Status> </IsResetSuccess> <IsRevokeRefundSuccess> <Message>sample string 2</Message> <Status>true</Status> </IsRevokeRefundSuccess> <Phone>sample string 2</Phone> </FacilActionRes> <FacilActionRes> <ICCID>sample string 3</ICCID> <Id>1</Id> <IsRefundGrantedByContelSuccess> <Message>sample string 2</Message> <Status>true</Status> </IsRefundGrantedByContelSuccess> <IsRefundSuccess> <Message>sample string 2</Message> <Status>true</Status> </IsRefundSuccess> <IsRemoveFromPoolSuccess> <Message>sample string 2</Message> <Status>true</Status> </IsRemoveFromPoolSuccess> <IsRequestRefundFromContelSuccess> <Message>sample string 2</Message> <Status>true</Status> </IsRequestRefundFromContelSuccess> <IsResellPoolResetSuccess> <Message>sample string 2</Message> <Status>true</Status> </IsResellPoolResetSuccess> <IsResellPoolSuccess> <Message>sample string 2</Message> <Status>true</Status> </IsResellPoolSuccess> <IsResetSuccess> <Message>sample string 2</Message> <Status>true</Status> </IsResetSuccess> <IsRevokeRefundSuccess> <Message>sample string 2</Message> <Status>true</Status> </IsRevokeRefundSuccess> <Phone>sample string 2</Phone> </FacilActionRes> </Data> <ErrorMsg>sample string 1</ErrorMsg> </FacilActionResponse>