Create Team
To create a new team in your Profit.co account
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
a | string | ||
apiKey | string | Required: API key of your Profit.co Account | |
accessKey | string | Required: Access key of your Profit.co Account |
Request Body
[{"name"=>"teamData", "value"=>"{\"isEnabled\":\"Y\",\"customAttributes\":[],\"iconCls\":\"card_giftcard\",\"cc\":\"#2196F3\",\"teamName\":\"Mobile\",\"removeRestrictedIds\":[],\"employeeIds\":[2132271,2146425],\"tlids\":[],\"ptn\":null,\"ptId\":null,\"aopkc\":\"Y\",\"emailId\":\"\"}", "datatype"=>"string"}, {"name"=>"subTeamIds", "value"=>"[]", "datatype"=>"string"}]