POST 17.0/database/smstexts

Description

Create SMS Texts

URI Parameters

None.

Name Description Type Additional information
ID

integer

None.

Description

string

String length: inclusive between 0 and 75

Body

string

None.

SaveAsCorrespondence

byte

None.

FollowUpTaskInterval

integer

None.

FollowUpTaskPriority

byte

None.

MailshotGroupID

integer

None.

ContentTypeID

byte

None.

ShowOnClientLogin

byte

None.

InActive

byte

None.

application/json, text/json

Sample:
{
  "id": 1,
  "description": "sample string 1",
  "body": "sample string 2",
  "saveAsCorrespondence": 64,
  "followUpTaskInterval": 1,
  "followUpTaskPriority": 64,
  "mailshotGroupID": 1,
  "contentTypeID": 64,
  "showOnClientLogin": 64,
  "inActive": 64
}

application/xml, text/xml

Sample:
<SMSTextsUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <Description>sample string 1</Description>
  <Body>sample string 2</Body>
  <SaveAsCorrespondence>64</SaveAsCorrespondence>
  <FollowUpTaskInterval>1</FollowUpTaskInterval>
  <FollowUpTaskPriority>64</FollowUpTaskPriority>
  <MailshotGroupID>1</MailshotGroupID>
  <ContentTypeID>64</ContentTypeID>
  <ShowOnClientLogin>64</ShowOnClientLogin>
  <InActive>64</InActive>
</SMSTextsUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
ID

integer

None.

Description

string

String length: inclusive between 0 and 75

Body

string

None.

SaveAsCorrespondence

byte

None.

FollowUpTaskInterval

integer

None.

FollowUpTaskPriority

byte

None.

MailshotGroupID

integer

None.

ContentTypeID

byte

None.

ShowOnClientLogin

byte

None.

InActive

byte

None.

application/json, text/json

Sample:
{
  "id": 1,
  "description": "sample string 2",
  "body": "sample string 3",
  "saveAsCorrespondence": 64,
  "followUpTaskInterval": 5,
  "followUpTaskPriority": 64,
  "mailshotGroupID": 7,
  "contentTypeID": 64,
  "showOnClientLogin": 64,
  "inActive": 64
}

application/xml, text/xml

Sample:
<SMSTexts xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <Description>sample string 2</Description>
  <Body>sample string 3</Body>
  <SaveAsCorrespondence>64</SaveAsCorrespondence>
  <FollowUpTaskInterval>5</FollowUpTaskInterval>
  <FollowUpTaskPriority>64</FollowUpTaskPriority>
  <MailshotGroupID>7</MailshotGroupID>
  <ContentTypeID>64</ContentTypeID>
  <ShowOnClientLogin>64</ShowOnClientLogin>
  <InActive>64</InActive>
</SMSTexts>