POST Api/ExpertSettings/AddSMSApi
Authentication Type action retrieves the types of which validation type you credentials are purpose
Request Information
URI Parameters
None.
Body Parameters
WorkspaceSMSApiLinkName | Description | Type | Additional information |
---|---|---|---|
SMSApiGuid | string |
None. |
|
SMSApiURL | string |
None. |
|
SMSApiKey | string |
None. |
|
SMSApiEmail | string |
None. |
|
WorkspaceGuid | string |
None. |
|
RegistrationDate | date |
None. |
|
DeleteDate | date |
None. |
|
isUsed | ApplicationAssignStatus |
None. |
Request Formats
application/json, text/json
Sample:
{ "SMSApiGuid": "sample string 1", "SMSApiURL": "sample string 2", "SMSApiKey": "sample string 3", "SMSApiEmail": "sample string 4", "WorkspaceGuid": "sample string 5", "RegistrationDate": "2024-12-15T01:46:32.9879123+03:00", "DeleteDate": "2024-12-15T01:46:32.9879123+03:00", "isUsed": 0 }
text/html
Sample:
{"SMSApiGuid":"sample string 1","SMSApiURL":"sample string 2","SMSApiKey":"sample string 3","SMSApiEmail":"sample string 4","WorkspaceGuid":"sample string 5","RegistrationDate":"2024-12-15T01:46:32.9879123+03:00","DeleteDate":"2024-12-15T01:46:32.9879123+03:00","isUsed":0}
application/xml, text/xml
Sample:
<WorkspaceSMSApiLink xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/we.net.dto"> <DeleteDate>2024-12-15T01:46:32.9879123+03:00</DeleteDate> <RegistrationDate>2024-12-15T01:46:32.9879123+03:00</RegistrationDate> <SMSApiEmail>sample string 4</SMSApiEmail> <SMSApiGuid>sample string 1</SMSApiGuid> <SMSApiKey>sample string 3</SMSApiKey> <SMSApiURL>sample string 2</SMSApiURL> <WorkspaceGuid>sample string 5</WorkspaceGuid> <isUsed>Pending</isUsed> </WorkspaceSMSApiLink>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
string[]
CustomResponseObjectOfWorkspaceSMSApiLinkName | Description | Type | Additional information |
---|---|---|---|
CustomResponseState | boolean |
None. |
|
CustomResponseMessage | string |
None. |
|
CustomObject | WorkspaceSMSApiLink |
None. |
|
CustomRedirectionUri | string |
None. |
|
GlobalRequestToken | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "CustomResponseState": true, "CustomResponseMessage": "sample string 2", "CustomObject": { "SMSApiGuid": "sample string 1", "SMSApiURL": "sample string 2", "SMSApiKey": "sample string 3", "SMSApiEmail": "sample string 4", "WorkspaceGuid": "sample string 5", "RegistrationDate": "2024-12-15T01:46:32.9879123+03:00", "DeleteDate": "2024-12-15T01:46:32.9879123+03:00", "isUsed": 0 }, "CustomRedirectionUri": "sample string 3", "GlobalRequestToken": "sample string 4" }
text/html
Sample:
{"CustomResponseState":true,"CustomResponseMessage":"sample string 2","CustomObject":{"SMSApiGuid":"sample string 1","SMSApiURL":"sample string 2","SMSApiKey":"sample string 3","SMSApiEmail":"sample string 4","WorkspaceGuid":"sample string 5","RegistrationDate":"2024-12-15T01:46:32.9879123+03:00","DeleteDate":"2024-12-15T01:46:32.9879123+03:00","isUsed":0},"CustomRedirectionUri":"sample string 3","GlobalRequestToken":"sample string 4"}
application/xml, text/xml
Sample:
<CustomResponseObjectOfWorkspaceSMSApiLinkm4UkzHxs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/we.net.dto"> <CustomObject> <DeleteDate>2024-12-15T01:46:32.9879123+03:00</DeleteDate> <RegistrationDate>2024-12-15T01:46:32.9879123+03:00</RegistrationDate> <SMSApiEmail>sample string 4</SMSApiEmail> <SMSApiGuid>sample string 1</SMSApiGuid> <SMSApiKey>sample string 3</SMSApiKey> <SMSApiURL>sample string 2</SMSApiURL> <WorkspaceGuid>sample string 5</WorkspaceGuid> <isUsed>Pending</isUsed> </CustomObject> <CustomRedirectionUri>sample string 3</CustomRedirectionUri> <CustomResponseMessage>sample string 2</CustomResponseMessage> <CustomResponseState>true</CustomResponseState> <GlobalRequestToken>sample string 4</GlobalRequestToken> </CustomResponseObjectOfWorkspaceSMSApiLinkm4UkzHxs>