The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/CreateAccount HTTP/1.1
Host: 7el.co
Content-Type: text/jsv
Content-Length: length
{
AccountRequest:
{
ICustomer: 0,
AccountsToCreate:
[
{
Index: 0,
Extension: String,
ISubscription: 0,
Password: String,
AcntId: String,
FirstName: String,
LastName: String,
Email: String,
ActivationDate: String,
Label: String
}
],
DefaultValues:
{
BillingModel: ReChargeVoucher,
ITariff: 0,
BatchNamePrefix: String,
LifeTime: 0,
ProductId: 0,
ITimeZone: 0,
IVRLanguage: String,
ServiceFlags: String,
CreditLimit: 0,
UmEnabled: False,
FollowMeEnabled: False,
EcommerceEnabled: False,
OutDateTimeFormat: String,
BCC: String,
IRoutingPlan: 0,
RTPProxy: Direct,
ServiceFeatures:
[
{
Name: String,
FlagValue: String,
ServiceAttributes:
{
String:
[
String
]
}
}
],
IParent: 0,
DefaultAnsweringMode: Reject
},
AccountPrefix: String,
AccountRandomDigitLength: 0,
CustomerLogin: String,
SiteType: String,
CustomerPassword: String,
AccountId: String,
SIPContact: String
},
License: String,
ContentId: 0,
FeatureName: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Index: 0,
Extension: String,
ISubscription: 0,
Password: String,
IAccount: 0,
ID: String,
AccLogin: String,
AccPassword: String,
FirstName: String,
LastName: String,
Email: String,
Label: String,
License: String,
ContentId: 0,
FeatureName: String
}