When you call Business Channel Service with POST method, you can create a Business Channel on next4biz CRM.
Your request body must be contain 3 properties.
tenant_slug This is your subdomain on selphiu URL. For example: if your selphiu domain is “acme.selpihu.com” then your tenant_slug is “acme”request.business_channel This is an array includes objects as business_channel property is an object contain you want to create business_channel values. You must set channel_name and business_type. You can sent 500 business_channel each request.| Name | Value |
|---|---|
| REST-API METHOD | Business Channel Create |
| HTTP METHOD | POST |
| RESPONSE TYPE | JSON |
| URL | https://api.crm.next4biz.com/business-channel/ |
| REQUEST HEAD | Accept: application/json; Content-Type: application/json |
{
"tenant_slug": "acme",
"access_token": "[YOUR ACCESSTOKEN]",
"business_channel": [
{
"channel_name": "Acme Global",
"business_type": 1
}
]
}
{
"code": 200,
"status": "Success",
"result": [
{
"channel_id": 100,
"channel_name": "Acme Global",
"channel_slug": "acme-global",
"is_active": true,
"created_at": "2017-09-06 12:16:31",
"lang": "tr",
"is_builtin": false,
"business_type": "1"
}
]
}