POST api/facil/partner/line/activate/esim
Request Information
URI Parameters
None.
Body Parameters
FacilPartnerActivateESIMRequestName | Description | Type | Additional information |
---|---|---|---|
WhatsAppNumber | string |
None. |
|
ApiKey | string |
None. |
|
Enviroment | EnvironmentType |
None. |
|
ActivationInfo | FacilActivateMultipleESIMReq |
None. |
Request Formats
application/json, text/json
Sample:
{ "WhatsAppNumber": "sample string 1", "ApiKey": "sample string 2", "Enviroment": 0, "ActivationInfo": { "CustomerInfo": { "Name": "sample string 1", "Email": "sample string 2" }, "LineInfo": [ { "DDD": 1, "PlanId": 2, "planStoreId": 3, "txtPlanId": "sample string 4", "txtPurchaseId": "sample string 5", "Esim": true, "ICCID": "sample string 7", "count": 8, "provider": "sample string 9", "travelDate": "sample string 10", "discription": "sample string 11", "price": "sample string 12", "planName": "sample string 13", "validity": 14, "data": "sample string 15" }, { "DDD": 1, "PlanId": 2, "planStoreId": 3, "txtPlanId": "sample string 4", "txtPurchaseId": "sample string 5", "Esim": true, "ICCID": "sample string 7", "count": 8, "provider": "sample string 9", "travelDate": "sample string 10", "discription": "sample string 11", "price": "sample string 12", "planName": "sample string 13", "validity": 14, "data": "sample string 15" } ] } }
text/html
Sample:
{"WhatsAppNumber":"sample string 1","ApiKey":"sample string 2","Enviroment":0,"ActivationInfo":{"CustomerInfo":{"Name":"sample string 1","Email":"sample string 2"},"LineInfo":[{"DDD":1,"PlanId":2,"planStoreId":3,"txtPlanId":"sample string 4","txtPurchaseId":"sample string 5","Esim":true,"ICCID":"sample string 7","count":8,"provider":"sample string 9","travelDate":"sample string 10","discription":"sample string 11","price":"sample string 12","planName":"sample string 13","validity":14,"data":"sample string 15"},{"DDD":1,"PlanId":2,"planStoreId":3,"txtPlanId":"sample string 4","txtPurchaseId":"sample string 5","Esim":true,"ICCID":"sample string 7","count":8,"provider":"sample string 9","travelDate":"sample string 10","discription":"sample string 11","price":"sample string 12","planName":"sample string 13","validity":14,"data":"sample string 15"}]}}
application/xml, text/xml
Sample:
<FacilPartnerActivateESIMRequest 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> <FacilLineActivationPartnerReq> <DDD>1</DDD> <Esim>true</Esim> <ICCID>sample string 7</ICCID> <PlanId>2</PlanId> <count>8</count> <data>sample string 15</data> <discription>sample string 11</discription> <planName>sample string 13</planName> <planStoreId>3</planStoreId> <price>sample string 12</price> <provider>sample string 9</provider> <travelDate>sample string 10</travelDate> <txtPlanId>sample string 4</txtPlanId> <txtPurchaseId>sample string 5</txtPurchaseId> <validity>14</validity> </FacilLineActivationPartnerReq> <FacilLineActivationPartnerReq> <DDD>1</DDD> <Esim>true</Esim> <ICCID>sample string 7</ICCID> <PlanId>2</PlanId> <count>8</count> <data>sample string 15</data> <discription>sample string 11</discription> <planName>sample string 13</planName> <planStoreId>3</planStoreId> <price>sample string 12</price> <provider>sample string 9</provider> <travelDate>sample string 10</travelDate> <txtPlanId>sample string 4</txtPlanId> <txtPurchaseId>sample string 5</txtPurchaseId> <validity>14</validity> </FacilLineActivationPartnerReq> </LineInfo> </ActivationInfo> <ApiKey>sample string 2</ApiKey> <Enviroment>PROD</Enviroment> <WhatsAppNumber>sample string 1</WhatsAppNumber> </FacilPartnerActivateESIMRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.