Evo Voice

<back to all web services

AppRegister10Dlc

Submits a registration for the current customer's 10DLC

Requires Authentication
The following routes are available for this service:
POST/portal/10dlc
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    /**
    * Submits a registration for the current customer's 10DLC
    */
    @Api(Description="Submits a registration for the current customer's 10DLC")
    public static class AppRegister10Dlc
    {
        public String accountId = null;
        public String customerId = null;
        public Boolean usOrCanada = null;
        public String taxId = null;
        public String taxIdValue = null;
        public String businessName = null;
        public String firstName = null;
        public String lastName = null;
        public String email = null;
        public String country = null;
        public String phoneNumber = null;
        public String addressStreet1 = null;
        public String addressStreet2 = null;
        public String addressCity = null;
        public String addressState = null;
        public String addressPostalCode = null;
        public String description = null;
        public Boolean acceptTerms = null;
        public String representative = null;
        public String websiteUrl = null;
        public String businessIndustry = null;
        public String businessRegistrationNumber = null;
        public String businessRegistrationIDType = null;
        public String businessType = null;
        public String businesTitle = null;
        public String brandName = null;
        public String brandType = null;
        public String companyType = null;
        public String politicalOrganization = null;
        public String mobilePhoneNumber = null;
        public String stockExchange = null;
        public String stockTicker = null;
        public String campaignVerifyToken = null;
        public Boolean campaign = null;
        public String campaignDescription = null;
        public String sampleMessage1 = null;
        public String sampleMessage2 = null;
        public String sampleMessage3 = null;
        public String sampleMessage4 = null;
        public String sampleMessage5 = null;
        public String consentMessage = null;
        public String optKeywords = null;
        public String optMessage = null;
        public String campaignUseCases = null;
        public Boolean embeddedLinks = null;
        public Boolean includePhonenumbers = null;
        public Boolean loanArrangement = null;
        public String vertical = null;
        public String jobPosition = null;
        public Boolean ctia = null;
        public ArrayList<String> businessRegions = null;
        public String brandMobilePhoneNumber = null;
        
        public String getAccountId() { return accountId; }
        public AppRegister10Dlc setAccountId(String value) { this.accountId = value; return this; }
        public String getCustomerId() { return customerId; }
        public AppRegister10Dlc setCustomerId(String value) { this.customerId = value; return this; }
        public Boolean isUsOrCanada() { return usOrCanada; }
        public AppRegister10Dlc setUsOrCanada(Boolean value) { this.usOrCanada = value; return this; }
        public String getTaxId() { return taxId; }
        public AppRegister10Dlc setTaxId(String value) { this.taxId = value; return this; }
        public String getTaxIdValue() { return taxIdValue; }
        public AppRegister10Dlc setTaxIdValue(String value) { this.taxIdValue = value; return this; }
        public String getBusinessName() { return businessName; }
        public AppRegister10Dlc setBusinessName(String value) { this.businessName = value; return this; }
        public String getFirstName() { return firstName; }
        public AppRegister10Dlc setFirstName(String value) { this.firstName = value; return this; }
        public String getLastName() { return lastName; }
        public AppRegister10Dlc setLastName(String value) { this.lastName = value; return this; }
        public String getEmail() { return email; }
        public AppRegister10Dlc setEmail(String value) { this.email = value; return this; }
        public String getCountry() { return country; }
        public AppRegister10Dlc setCountry(String value) { this.country = value; return this; }
        public String getPhoneNumber() { return phoneNumber; }
        public AppRegister10Dlc setPhoneNumber(String value) { this.phoneNumber = value; return this; }
        public String getAddressStreet1() { return addressStreet1; }
        public AppRegister10Dlc setAddressStreet1(String value) { this.addressStreet1 = value; return this; }
        public String getAddressStreet2() { return addressStreet2; }
        public AppRegister10Dlc setAddressStreet2(String value) { this.addressStreet2 = value; return this; }
        public String getAddressCity() { return addressCity; }
        public AppRegister10Dlc setAddressCity(String value) { this.addressCity = value; return this; }
        public String getAddressState() { return addressState; }
        public AppRegister10Dlc setAddressState(String value) { this.addressState = value; return this; }
        public String getAddressPostalCode() { return addressPostalCode; }
        public AppRegister10Dlc setAddressPostalCode(String value) { this.addressPostalCode = value; return this; }
        public String getDescription() { return description; }
        public AppRegister10Dlc setDescription(String value) { this.description = value; return this; }
        public Boolean isAcceptTerms() { return acceptTerms; }
        public AppRegister10Dlc setAcceptTerms(Boolean value) { this.acceptTerms = value; return this; }
        public String getRepresentative() { return representative; }
        public AppRegister10Dlc setRepresentative(String value) { this.representative = value; return this; }
        public String getWebsiteUrl() { return websiteUrl; }
        public AppRegister10Dlc setWebsiteUrl(String value) { this.websiteUrl = value; return this; }
        public String getBusinessIndustry() { return businessIndustry; }
        public AppRegister10Dlc setBusinessIndustry(String value) { this.businessIndustry = value; return this; }
        public String getBusinessRegistrationNumber() { return businessRegistrationNumber; }
        public AppRegister10Dlc setBusinessRegistrationNumber(String value) { this.businessRegistrationNumber = value; return this; }
        public String getBusinessRegistrationIDType() { return businessRegistrationIDType; }
        public AppRegister10Dlc setBusinessRegistrationIDType(String value) { this.businessRegistrationIDType = value; return this; }
        public String getBusinessType() { return businessType; }
        public AppRegister10Dlc setBusinessType(String value) { this.businessType = value; return this; }
        public String getBusinesTitle() { return businesTitle; }
        public AppRegister10Dlc setBusinesTitle(String value) { this.businesTitle = value; return this; }
        public String getBrandName() { return brandName; }
        public AppRegister10Dlc setBrandName(String value) { this.brandName = value; return this; }
        public String getBrandType() { return brandType; }
        public AppRegister10Dlc setBrandType(String value) { this.brandType = value; return this; }
        public String getCompanyType() { return companyType; }
        public AppRegister10Dlc setCompanyType(String value) { this.companyType = value; return this; }
        public String getPoliticalOrganization() { return politicalOrganization; }
        public AppRegister10Dlc setPoliticalOrganization(String value) { this.politicalOrganization = value; return this; }
        public String getMobilePhoneNumber() { return mobilePhoneNumber; }
        public AppRegister10Dlc setMobilePhoneNumber(String value) { this.mobilePhoneNumber = value; return this; }
        public String getStockExchange() { return stockExchange; }
        public AppRegister10Dlc setStockExchange(String value) { this.stockExchange = value; return this; }
        public String getStockTicker() { return stockTicker; }
        public AppRegister10Dlc setStockTicker(String value) { this.stockTicker = value; return this; }
        public String getCampaignVerifyToken() { return campaignVerifyToken; }
        public AppRegister10Dlc setCampaignVerifyToken(String value) { this.campaignVerifyToken = value; return this; }
        public Boolean isCampaign() { return campaign; }
        public AppRegister10Dlc setCampaign(Boolean value) { this.campaign = value; return this; }
        public String getCampaignDescription() { return campaignDescription; }
        public AppRegister10Dlc setCampaignDescription(String value) { this.campaignDescription = value; return this; }
        public String getSampleMessage1() { return sampleMessage1; }
        public AppRegister10Dlc setSampleMessage1(String value) { this.sampleMessage1 = value; return this; }
        public String getSampleMessage2() { return sampleMessage2; }
        public AppRegister10Dlc setSampleMessage2(String value) { this.sampleMessage2 = value; return this; }
        public String getSampleMessage3() { return sampleMessage3; }
        public AppRegister10Dlc setSampleMessage3(String value) { this.sampleMessage3 = value; return this; }
        public String getSampleMessage4() { return sampleMessage4; }
        public AppRegister10Dlc setSampleMessage4(String value) { this.sampleMessage4 = value; return this; }
        public String getSampleMessage5() { return sampleMessage5; }
        public AppRegister10Dlc setSampleMessage5(String value) { this.sampleMessage5 = value; return this; }
        public String getConsentMessage() { return consentMessage; }
        public AppRegister10Dlc setConsentMessage(String value) { this.consentMessage = value; return this; }
        public String getOptKeywords() { return optKeywords; }
        public AppRegister10Dlc setOptKeywords(String value) { this.optKeywords = value; return this; }
        public String getOptMessage() { return optMessage; }
        public AppRegister10Dlc setOptMessage(String value) { this.optMessage = value; return this; }
        public String getCampaignUseCases() { return campaignUseCases; }
        public AppRegister10Dlc setCampaignUseCases(String value) { this.campaignUseCases = value; return this; }
        public Boolean isEmbeddedLinks() { return embeddedLinks; }
        public AppRegister10Dlc setEmbeddedLinks(Boolean value) { this.embeddedLinks = value; return this; }
        public Boolean isIncludePhonenumbers() { return includePhonenumbers; }
        public AppRegister10Dlc setIncludePhonenumbers(Boolean value) { this.includePhonenumbers = value; return this; }
        public Boolean isLoanArrangement() { return loanArrangement; }
        public AppRegister10Dlc setLoanArrangement(Boolean value) { this.loanArrangement = value; return this; }
        public String getVertical() { return vertical; }
        public AppRegister10Dlc setVertical(String value) { this.vertical = value; return this; }
        public String getJobPosition() { return jobPosition; }
        public AppRegister10Dlc setJobPosition(String value) { this.jobPosition = value; return this; }
        public Boolean isCtia() { return ctia; }
        public AppRegister10Dlc setCtia(Boolean value) { this.ctia = value; return this; }
        public ArrayList<String> getBusinessRegions() { return businessRegions; }
        public AppRegister10Dlc setBusinessRegions(ArrayList<String> value) { this.businessRegions = value; return this; }
        public String getBrandMobilePhoneNumber() { return brandMobilePhoneNumber; }
        public AppRegister10Dlc setBrandMobilePhoneNumber(String value) { this.brandMobilePhoneNumber = value; return this; }
    }

}

Java AppRegister10Dlc DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

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: evovoice.io 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	accountId: String,
	customerId: String,
	usOrCanada: False,
	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: False,
	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: False,
	campaignDescription: String,
	sampleMessage1: String,
	sampleMessage2: String,
	sampleMessage3: String,
	sampleMessage4: String,
	sampleMessage5: String,
	consentMessage: String,
	optKeywords: String,
	optMessage: String,
	campaignUseCases: String,
	embeddedLinks: False,
	includePhonenumbers: False,
	loanArrangement: False,
	vertical: String,
	jobPosition: String,
	ctia: False,
	businessRegions: 
	[
		String
	],
	brandMobilePhoneNumber: String
}