Creating A Group Owner
Using the POST method with the Group Owners will create a new Group Owner
POST https://api.telmetrics.com/v3/api/GroupOwners
The following sample request can be used to create a Group Owner
curl -H "x-organization-token: {authorization_token}" \
-X POST \
"https://api.telmetrics.com/v3/api/groupowners" \
-d '{
"name": "Telmetrics",
"address": "2645 Skymark Ave",
"suite": "202",
"city": "Seattle",
"state": "WA",
"zip": "98101",
"client_id": "536f933b-0ebc-4643-9b00-f99a22e8cb5e",
"phone": "1231231234",
"ext": "+1",
"fax": "1231234321",
"email": "[email protected]",
"contact_name": "Jerry Smith",
"custom_text": "Custom Text 1",
"custom_text2": "Custom Text 2",
"custom_flag": true
}'
If the request is handled successfully, the following response will be returned:
{
"id": 1,
"name": "Telmetrics",
"status": "active",
"address": "2645 Skymark Ave",
"suite": "202",
"city": "Seattle",
"state": "WA",
"zip": "98101",
"client_id": "96515f9c-4f6b-4955-9fa9-9d9393540dc4",
"phone": "1231231234",
"ext": "+1",
"fax": "1231234321",
"email": "[email protected]",
"contact_name": "",
"custom_text": "Custom Text 1",
"custom_text2": "Custom Text 2",
"custom_flag": true,
"reactivate": false,
"created_datetime": "2020-06-10T17:59:42.8991278Z",
"modified_datetime": "2020-06-10T17:59:42.899Z"
}
Updated over 4 years ago