POST api/sms/create

Request Information

URI Parameters

None.

Body Parameters

Collection of SMSXRefCorporateInfoData
NameDescriptionTypeAdditional information
SmsID

integer

None.

AccountSID

string

None.

AuthToken

string

None.

SubAccountSID

string

None.

SubAccountToken

string

None.

SubAccountPhoneNumber

string

None.

FriendlyName

string

None.

CorporateID

integer

None.

CorporateName

string

None.

IsActive

boolean

None.

CreatedBy

string

None.

CreatedOn

date

None.

ModifiedBy

string

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "SmsID": 1,
    "AccountSID": "sample string 2",
    "AuthToken": "sample string 3",
    "SubAccountSID": "sample string 4",
    "SubAccountToken": "sample string 5",
    "SubAccountPhoneNumber": "sample string 6",
    "FriendlyName": "sample string 7",
    "CorporateID": 8,
    "CorporateName": "sample string 9",
    "IsActive": true,
    "CreatedBy": "sample string 11",
    "CreatedOn": "2021-06-15T03:54:31.8007787-05:00",
    "ModifiedBy": "sample string 13",
    "ModifiedOn": "2021-06-15T03:54:31.8007787-05:00"
  },
  {
    "SmsID": 1,
    "AccountSID": "sample string 2",
    "AuthToken": "sample string 3",
    "SubAccountSID": "sample string 4",
    "SubAccountToken": "sample string 5",
    "SubAccountPhoneNumber": "sample string 6",
    "FriendlyName": "sample string 7",
    "CorporateID": 8,
    "CorporateName": "sample string 9",
    "IsActive": true,
    "CreatedBy": "sample string 11",
    "CreatedOn": "2021-06-15T03:54:31.8007787-05:00",
    "ModifiedBy": "sample string 13",
    "ModifiedOn": "2021-06-15T03:54:31.8007787-05:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSMSXRefCorporateInfoData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Centerpointe.Modules.Data.Corporate">
  <SMSXRefCorporateInfoData>
    <_x003C_CreatedBy_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Centerpointe.Domain.Entities.Auditing">sample string 11</_x003C_CreatedBy_x003E_k__BackingField>
    <_x003C_CreatedOn_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Centerpointe.Domain.Entities.Auditing">2021-06-15T03:54:31.8007787-05:00</_x003C_CreatedOn_x003E_k__BackingField>
    <_x003C_ModifiedBy_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Centerpointe.Domain.Entities.Auditing">sample string 13</_x003C_ModifiedBy_x003E_k__BackingField>
    <_x003C_ModifiedOn_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Centerpointe.Domain.Entities.Auditing">2021-06-15T03:54:31.8007787-05:00</_x003C_ModifiedOn_x003E_k__BackingField>
    <AccountSID>sample string 2</AccountSID>
    <AuthToken>sample string 3</AuthToken>
    <CorporateID>8</CorporateID>
    <CorporateName>sample string 9</CorporateName>
    <FriendlyName>sample string 7</FriendlyName>
    <IsActive>true</IsActive>
    <SmsID>1</SmsID>
    <SubAccountPhoneNumber>sample string 6</SubAccountPhoneNumber>
    <SubAccountSID>sample string 4</SubAccountSID>
    <SubAccountToken>sample string 5</SubAccountToken>
  </SMSXRefCorporateInfoData>
  <SMSXRefCorporateInfoData>
    <_x003C_CreatedBy_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Centerpointe.Domain.Entities.Auditing">sample string 11</_x003C_CreatedBy_x003E_k__BackingField>
    <_x003C_CreatedOn_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Centerpointe.Domain.Entities.Auditing">2021-06-15T03:54:31.8007787-05:00</_x003C_CreatedOn_x003E_k__BackingField>
    <_x003C_ModifiedBy_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Centerpointe.Domain.Entities.Auditing">sample string 13</_x003C_ModifiedBy_x003E_k__BackingField>
    <_x003C_ModifiedOn_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Centerpointe.Domain.Entities.Auditing">2021-06-15T03:54:31.8007787-05:00</_x003C_ModifiedOn_x003E_k__BackingField>
    <AccountSID>sample string 2</AccountSID>
    <AuthToken>sample string 3</AuthToken>
    <CorporateID>8</CorporateID>
    <CorporateName>sample string 9</CorporateName>
    <FriendlyName>sample string 7</FriendlyName>
    <IsActive>true</IsActive>
    <SmsID>1</SmsID>
    <SubAccountPhoneNumber>sample string 6</SubAccountPhoneNumber>
    <SubAccountSID>sample string 4</SubAccountSID>
    <SubAccountToken>sample string 5</SubAccountToken>
  </SMSXRefCorporateInfoData>
</ArrayOfSMSXRefCorporateInfoData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.