POST | /portal/10dlc |
---|
"use strict";
export class AppRegister10Dlc {
/** @param {{accountId?:string,customerId?:string,usOrCanada?:boolean,taxId?:string,taxIdValue?:string,businessName?:string,firstName?:string,lastName?:string,email?:string,country?:string,phoneNumber?:string,addressStreet1?:string,addressStreet2?:string,addressCity?:string,addressState?:string,addressPostalCode?:string,description?:string,acceptTerms?:boolean,representative?:string,websiteUrl?:string,businessIndustry?:string,businessRegistrationNumber?:string,businessRegistrationIDType?:string,businessType?:string,businesTitle?:string,brandName?:string,brandType?:string,companyType?:string,politicalOrganization?:string,mobilePhoneNumber?:string,stockExchange?:string,stockTicker?:string,campaignVerifyToken?:string,campaign?:boolean,campaignDescription?:string,sampleMessage1?:string,sampleMessage2?:string,sampleMessage3?:string,sampleMessage4?:string,sampleMessage5?:string,consentMessage?:string,optKeywords?:string,optMessage?:string,campaignUseCases?:string,embeddedLinks?:boolean,includePhonenumbers?:boolean,loanArrangement?:boolean,vertical?:string,jobPosition?:string,ctia?:boolean,businessRegions?:string[],brandMobilePhoneNumber?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
accountId;
/** @type {string} */
customerId;
/** @type {boolean} */
usOrCanada;
/** @type {string} */
taxId;
/** @type {string} */
taxIdValue;
/** @type {string} */
businessName;
/** @type {string} */
firstName;
/** @type {string} */
lastName;
/** @type {string} */
email;
/** @type {string} */
country;
/** @type {string} */
phoneNumber;
/** @type {string} */
addressStreet1;
/** @type {string} */
addressStreet2;
/** @type {string} */
addressCity;
/** @type {string} */
addressState;
/** @type {string} */
addressPostalCode;
/** @type {string} */
description;
/** @type {boolean} */
acceptTerms;
/** @type {string} */
representative;
/** @type {string} */
websiteUrl;
/** @type {string} */
businessIndustry;
/** @type {string} */
businessRegistrationNumber;
/** @type {string} */
businessRegistrationIDType;
/** @type {string} */
businessType;
/** @type {string} */
businesTitle;
/** @type {string} */
brandName;
/** @type {string} */
brandType;
/** @type {string} */
companyType;
/** @type {string} */
politicalOrganization;
/** @type {string} */
mobilePhoneNumber;
/** @type {string} */
stockExchange;
/** @type {string} */
stockTicker;
/** @type {string} */
campaignVerifyToken;
/** @type {boolean} */
campaign;
/** @type {string} */
campaignDescription;
/** @type {string} */
sampleMessage1;
/** @type {string} */
sampleMessage2;
/** @type {string} */
sampleMessage3;
/** @type {string} */
sampleMessage4;
/** @type {string} */
sampleMessage5;
/** @type {string} */
consentMessage;
/** @type {string} */
optKeywords;
/** @type {string} */
optMessage;
/** @type {string} */
campaignUseCases;
/** @type {boolean} */
embeddedLinks;
/** @type {boolean} */
includePhonenumbers;
/** @type {boolean} */
loanArrangement;
/** @type {string} */
vertical;
/** @type {string} */
jobPosition;
/** @type {boolean} */
ctia;
/** @type {string[]} */
businessRegions;
/** @type {string} */
brandMobilePhoneNumber;
}
JavaScript AppRegister10Dlc DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /portal/10dlc HTTP/1.1
Host: team.evovoice.io
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<AppRegister10Dlc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Portal">
<AcceptTerms>false</AcceptTerms>
<AccountId>String</AccountId>
<AddressCity>String</AddressCity>
<AddressPostalCode>String</AddressPostalCode>
<AddressState>String</AddressState>
<AddressStreet1>String</AddressStreet1>
<AddressStreet2>String</AddressStreet2>
<BrandMobilePhoneNumber>String</BrandMobilePhoneNumber>
<BrandName>String</BrandName>
<BrandType>String</BrandType>
<BusinesTitle>String</BusinesTitle>
<BusinessIndustry>String</BusinessIndustry>
<BusinessName>String</BusinessName>
<BusinessRegions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</BusinessRegions>
<BusinessRegistrationIDType>String</BusinessRegistrationIDType>
<BusinessRegistrationNumber>String</BusinessRegistrationNumber>
<BusinessType>String</BusinessType>
<CTIA>false</CTIA>
<Campaign>false</Campaign>
<CampaignDescription>String</CampaignDescription>
<CampaignUseCases>String</CampaignUseCases>
<CampaignVerifyToken>String</CampaignVerifyToken>
<CompanyType>String</CompanyType>
<ConsentMessage>String</ConsentMessage>
<Country>String</Country>
<CustomerId>String</CustomerId>
<Description>String</Description>
<Email>String</Email>
<EmbeddedLinks>false</EmbeddedLinks>
<FirstName>String</FirstName>
<IncludePhonenumbers>false</IncludePhonenumbers>
<JobPosition>String</JobPosition>
<LastName>String</LastName>
<LoanArrangement>false</LoanArrangement>
<MobilePhoneNumber>String</MobilePhoneNumber>
<OptKeywords>String</OptKeywords>
<OptMessage>String</OptMessage>
<PhoneNumber>String</PhoneNumber>
<PoliticalOrganization>String</PoliticalOrganization>
<Representative>String</Representative>
<SampleMessage1>String</SampleMessage1>
<SampleMessage2>String</SampleMessage2>
<SampleMessage3>String</SampleMessage3>
<SampleMessage4>String</SampleMessage4>
<SampleMessage5>String</SampleMessage5>
<StockExchange>String</StockExchange>
<StockTicker>String</StockTicker>
<TaxId>String</TaxId>
<TaxIdValue>String</TaxIdValue>
<USOrCanada>false</USOrCanada>
<Vertical>String</Vertical>
<WebsiteUrl>String</WebsiteUrl>
</AppRegister10Dlc>