POST api/pagarme/AffiliatePersonVerification

Request Information

URI Parameters

None.

Body Parameters

AffiliatePersonVerificationRequest
NameDescriptionTypeAdditional information
Id

integer

None.

Email

string

None.

Number

string

None.

SelectedPlans

Collection of StripePlanoStore

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Email": "sample string 2",
  "Number": "sample string 3",
  "SelectedPlans": [
    {
      "planId": "sample string 1",
      "provider": "sample string 2",
      "valor": 3,
      "ecomStoreId": 4,
      "validity": 5,
      "data": "sample string 6",
      "planName": "sample string 7",
      "orderId": "sample string 8",
      "transactionId": "sample string 9",
      "descricao": "sample string 10",
      "isEsim": true,
      "isPort": true,
      "txtPortNumber": "sample string 13",
      "count": 1,
      "ActivationCode": "sample string 14",
      "ActivationQrCode": "sample string 15",
      "ICCID": "sample string 16",
      "purchaseId": "sample string 17",
      "travelDate": "sample string 18"
    },
    {
      "planId": "sample string 1",
      "provider": "sample string 2",
      "valor": 3,
      "ecomStoreId": 4,
      "validity": 5,
      "data": "sample string 6",
      "planName": "sample string 7",
      "orderId": "sample string 8",
      "transactionId": "sample string 9",
      "descricao": "sample string 10",
      "isEsim": true,
      "isPort": true,
      "txtPortNumber": "sample string 13",
      "count": 1,
      "ActivationCode": "sample string 14",
      "ActivationQrCode": "sample string 15",
      "ICCID": "sample string 16",
      "purchaseId": "sample string 17",
      "travelDate": "sample string 18"
    }
  ]
}

text/html

Sample:
{"Id":1,"Email":"sample string 2","Number":"sample string 3","SelectedPlans":[{"planId":"sample string 1","provider":"sample string 2","valor":3,"ecomStoreId":4,"validity":5,"data":"sample string 6","planName":"sample string 7","orderId":"sample string 8","transactionId":"sample string 9","descricao":"sample string 10","isEsim":true,"isPort":true,"txtPortNumber":"sample string 13","count":1,"ActivationCode":"sample string 14","ActivationQrCode":"sample string 15","ICCID":"sample string 16","purchaseId":"sample string 17","travelDate":"sample string 18"},{"planId":"sample string 1","provider":"sample string 2","valor":3,"ecomStoreId":4,"validity":5,"data":"sample string 6","planName":"sample string 7","orderId":"sample string 8","transactionId":"sample string 9","descricao":"sample string 10","isEsim":true,"isPort":true,"txtPortNumber":"sample string 13","count":1,"ActivationCode":"sample string 14","ActivationQrCode":"sample string 15","ICCID":"sample string 16","purchaseId":"sample string 17","travelDate":"sample string 18"}]}

application/xml, text/xml

Sample:
<AffiliatePersonVerificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <Email>sample string 2</Email>
  <Id>1</Id>
  <Number>sample string 3</Number>
  <SelectedPlans>
    <StripePlanoStore>
      <ActivationCode>sample string 14</ActivationCode>
      <ActivationQrCode>sample string 15</ActivationQrCode>
      <ICCID>sample string 16</ICCID>
      <count>1</count>
      <data>sample string 6</data>
      <descricao>sample string 10</descricao>
      <ecomStoreId>4</ecomStoreId>
      <isEsim>true</isEsim>
      <isPort>true</isPort>
      <orderId>sample string 8</orderId>
      <planId>sample string 1</planId>
      <planName>sample string 7</planName>
      <provider>sample string 2</provider>
      <purchaseId>sample string 17</purchaseId>
      <transactionId>sample string 9</transactionId>
      <travelDate>sample string 18</travelDate>
      <txtPortNumber>sample string 13</txtPortNumber>
      <validity>5</validity>
      <valor>3</valor>
    </StripePlanoStore>
    <StripePlanoStore>
      <ActivationCode>sample string 14</ActivationCode>
      <ActivationQrCode>sample string 15</ActivationQrCode>
      <ICCID>sample string 16</ICCID>
      <count>1</count>
      <data>sample string 6</data>
      <descricao>sample string 10</descricao>
      <ecomStoreId>4</ecomStoreId>
      <isEsim>true</isEsim>
      <isPort>true</isPort>
      <orderId>sample string 8</orderId>
      <planId>sample string 1</planId>
      <planName>sample string 7</planName>
      <provider>sample string 2</provider>
      <purchaseId>sample string 17</purchaseId>
      <transactionId>sample string 9</transactionId>
      <travelDate>sample string 18</travelDate>
      <txtPortNumber>sample string 13</txtPortNumber>
      <validity>5</validity>
      <valor>3</valor>
    </StripePlanoStore>
  </SelectedPlans>
</AffiliatePersonVerificationRequest>

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

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>