The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /json/reply/LocalNumber HTTP/1.1
Host: api-uk.activesoftswitch.com
Content-Type: application/json
Content-Length: length
{"CLI":"String","i_customer_site":0,"IEnv":0,"CountryCode":0,"AreaCode":0,"CLICountryCode":0,"ICustomer":0,"GetAllNumbers":false,"IAccount":0,"getGlobalDRStatus":false,"i_products":"String","License":"String","ContentId":0,"FeatureName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"AvailableAccessNumber":"String","CustomerLocalNumbers":[{"AccessNumber":"String","CLI":"String","IEnv":0,"CountryCode":0,"AreaCode":0,"Destination":"String","IAccount":0,"Name":"String","TenantId":0,"Id":0,"CreatedOn":"\/Date(-62135596800000-0000)\/","UpdatedOn":"\/Date(-62135596800000-0000)\/","RowVersion":0}],"Activeaccountlst":{"Id":"String","AccountId":"String","IAccount":0,"ICustomer":0,"redirect_number":"String","DestinationName":"String","active":"String","account_dr_active":"String","BillingModel":"ReChargeVoucher","ISO4217":"String","Balance":0,"Blockedfield":"String","Blocked":false,"UMEnabledfield":"String","UMEnabled":false,"IParent":0,"UILogin":"String","UIPassword":"String","VoipPassword":"String","CreditLimit":0,"IProduct":0,"BatchNamePrefix":"String","IBatch":0,"IRoutingPlan":0,"IEnv":0,"Email":"String","BCC":"String","Phone1":"String","Phone2":"String","Contact1":"String","Contact2":"String","Address":"String","CompanyName":"String","BillStatus":"String","FollowMeEnabled":"String","ServiceFlags":"String","IVDPlan":0,"Note":"String","Company":"String","Name":"String","FirstName":"String","MiddleInitials":"String","LastName":"String","Address1":"String","Address2":"String","Address3":"String","Address4":"String","Town":"String","Region":"String","City":"String","Postcode":"String","Country":"String","PhoneNo":"String","Salutation":"String","Fax":"String","State":"String","DeactiveDestinations":"String","SubscriberFName":"String","SubscriberLName":"String","ExtensionNumber":"String","ActivationDate":"\/Date(-62135596800000-0000)\/","ICustomerSite":0,"DefaultValidIdentity":"String","customUrl":"String","currentProfileImage":"String","VoiceDialing":false,"TranslateIncomingCLI":false,"activationDate":"String","activationDateDateTime":"\/Date(-62135596800000-0000)\/","lastUsage":"\/Date(-62135596800000-0000)\/","firstUsageTime":"\/Date(-62135596800000-0000)\/","issueDate":"\/Date(-62135596800000-0000)\/","inactivityExpireTime":0},"License":"String","ContentId":0,"FeatureName":"String"}