POST api/account/register-aktina-account

Request Information

URI Parameters

None.

Body Parameters

AktinaAccountRequestModel
NameDescriptionTypeAdditional information
PlanId

integer

Required

CustomerId

integer

Required

FullName

string

Required

Email

string

Required

PhonePrefix

string

None.

PhoneNumber

string

Required

CPF

string

Required

AddressCity

string

None.

AddressState

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PlanId": 1,
  "CustomerId": 2,
  "FullName": "sample string 3",
  "Email": "sample string 4",
  "PhonePrefix": "sample string 5",
  "PhoneNumber": "sample string 6",
  "CPF": "sample string 7",
  "AddressCity": "sample string 8",
  "AddressState": "sample string 9"
}

application/xml, text/xml

Sample:
<AktinaAccountRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VIACRM.WebApp.Service.Models">
  <AddressCity>sample string 8</AddressCity>
  <AddressState>sample string 9</AddressState>
  <CPF>sample string 7</CPF>
  <CustomerId>2</CustomerId>
  <Email>sample string 4</Email>
  <FullName>sample string 3</FullName>
  <PhoneNumber>sample string 6</PhoneNumber>
  <PhonePrefix>sample string 5</PhonePrefix>
  <PlanId>1</PlanId>
</AktinaAccountRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AktinaAccountResponseModel
NameDescriptionTypeAdditional information
AccessUrl

string

None.

AccountId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "AccessUrl": "sample string 1",
  "AccountId": 2
}

application/xml, text/xml

Sample:
<AktinaAccountResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VIACRM.WebApp.Service.Models">
  <AccessUrl>sample string 1</AccessUrl>
  <AccountId>2</AccountId>
</AktinaAccountResponseModel>