POST api/SimAdministrator/SimSaleToCustomer

Request Information

URI Parameters

None.

Body Parameters

SimSale
NameDescriptionTypeAdditional information
PersonId

integer

None.

ICCIDNumber

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonId": 1,
  "ICCIDNumber": 2
}

text/html

Sample:
{"PersonId":1,"ICCIDNumber":2}

application/xml, text/xml

Sample:
<SimSale xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities">
  <ICCIDNumber>2</ICCIDNumber>
  <PersonId>1</PersonId>
</SimSale>

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 'SimSale'.

Response Information

Resource Description

GenericResponse
NameDescriptionTypeAdditional information
Data

Object

None.

Info

string

None.

Error

string

None.

Status

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {},
  "Info": "sample string 2",
  "Error": "sample string 3",
  "Status": true
}

text/html

Sample:
{"Data":{},"Info":"sample string 2","Error":"sample string 3","Status":true}

application/xml, text/xml

Sample:
<GenericResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities">
  <Data />
  <Error>sample string 3</Error>
  <Info>sample string 2</Info>
  <Status>true</Status>
</GenericResponse>