POST api/facil/line/activate/esim/V2

Request Information

URI Parameters

None.

Body Parameters

FacilActivateESIMDateRequest
NameDescriptionTypeAdditional information
ApiKey

string

None.

Enviroment

EnvironmentType

None.

ActivationInfo

FacilActivateESIMDateReq

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,
      "ActivationDate": "sample string 3",
      "EndDate": "sample string 4",
      "Misc": "sample string 5"
    }
  }
}

text/html

Sample:
{"ApiKey":"sample string 1","Enviroment":0,"ActivationInfo":{"CustomerInfo":{"Name":"sample string 1","Email":"sample string 2"},"LineInfo":{"DDD":1,"PlanId":2,"ActivationDate":"sample string 3","EndDate":"sample string 4","Misc":"sample string 5"}}}

application/xml, text/xml

Sample:
<FacilActivateESIMDateRequest 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>
      <ActivationDate>sample string 3</ActivationDate>
      <DDD>1</DDD>
      <EndDate>sample string 4</EndDate>
      <Misc>sample string 5</Misc>
      <PlanId>2</PlanId>
    </LineInfo>
  </ActivationInfo>
  <ApiKey>sample string 1</ApiKey>
  <Enviroment>PROD</Enviroment>
</FacilActivateESIMDateRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.