POST api/facil/line/activate/esim

Request Information

URI Parameters

None.

Body Parameters

FacilActivateESIMRequest
NameDescriptionTypeAdditional information
ApiKey

string

None.

Enviroment

EnvironmentType

None.

ActivationInfo

FacilActivateESIMReq

None.

Request Formats

application/json, text/json

Sample:
{
  "ApiKey": "sample string 1",
  "Enviroment": 0,
  "ActivationInfo": {
    "CustomerInfo": {
      "Name": "sample string 1",
      "Email": "sample string 2"
    },
    "LineInfo": {
      "DDD": 1,
      "PlanId": 2
    }
  }
}

text/html

Sample:
{"ApiKey":"sample string 1","Enviroment":0,"ActivationInfo":{"CustomerInfo":{"Name":"sample string 1","Email":"sample string 2"},"LineInfo":{"DDD":1,"PlanId":2}}}

application/xml, text/xml

Sample:
<FacilActivateESIMRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities">
  <ActivationInfo>
    <CustomerInfo>
      <Email>sample string 2</Email>
      <Name>sample string 1</Name>
    </CustomerInfo>
    <LineInfo>
      <DDD>1</DDD>
      <PlanId>2</PlanId>
    </LineInfo>
  </ActivationInfo>
  <ApiKey>sample string 1</ApiKey>
  <Enviroment>PROD</Enviroment>
</FacilActivateESIMRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.