Modified SMS HTTP API call
This commit is contained in:
parent
c40fb61ddd
commit
5970590f78
|
|
@ -81,7 +81,8 @@ class ContactUncontactedCommand extends Command
|
||||||
'Accept' => 'application/json',
|
'Accept' => 'application/json',
|
||||||
'Content-Type' => 'application/json'
|
'Content-Type' => 'application/json'
|
||||||
],
|
],
|
||||||
'query' => "{
|
'query' => [
|
||||||
|
'body' => "{
|
||||||
'messages': { 'msg': [{
|
'messages': { 'msg': [{
|
||||||
'allowedChannels': ['SMS'],
|
'allowedChannels': ['SMS'],
|
||||||
'from': 'UKB',
|
'from': 'UKB',
|
||||||
|
|
@ -101,6 +102,7 @@ class ContactUncontactedCommand extends Command
|
||||||
'maximumNumberOfMessageParts': 8,
|
'maximumNumberOfMessageParts': 8,
|
||||||
'reference': 'UKB'
|
'reference': 'UKB'
|
||||||
}] }}"
|
}] }}"
|
||||||
|
]
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// 4. Check the API response status
|
// 4. Check the API response status
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user