Create teamsportz sport provider
POST {{baseUrl}}/{{version}}/sports/create
Request Body
[{"name"=>"sport_name", "value"=>"Hockey", "datatype"=>"string"}, {"name"=>"sport_provider", "value"=>"teamsportz", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"error":false,"code":200,"message":"The new sport has been created successfully","sport_id":23}