POST /salesforce-accounts.json
Body Required
-
channelId integer(int32) | null
Channel
-
Enabled
Default value is
true
. -
Login url
-
Name
-
paidStatuses array[string] | null
Paid statuses
-
Password
-
securityToken string | null
Security token
-
Username
POST /salesforce-accounts.json
curl \
-X POST http://api.example.com/v1/salesforce-accounts.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channelId":42,"enabled":true,"loginUrl":"string","name":"string","paidStatuses":["string"],"password":"string","securityToken":"string","username":"string"}'
Request example
{
"channelId": 42,
"enabled": true,
"loginUrl": "string",
"name": "string",
"paidStatuses": [
"string"
],
"password": "string",
"securityToken": "string",
"username": "string"
}
Response examples (200)
{
"channelId": 42,
"createdAt": "2024-05-04T09:42:00+00:00",
"enabled": true,
"id": 42,
"loginUrl": "string",
"name": "string",
"paidStatuses": [
"string"
],
"password": "string",
"securityToken": "string",
"updatedAt": "2024-05-04T09:42:00+00:00",
"username": "string"
}