Org industry sector APIs

Add org industry sector

OVERVIEW

Add a new org industry sector to Collaborate

This API call is used to add a new org industry sector to the system.

 

HTTP Request

POST   /api/4/industries

 

Example

POST   http://example.com/context/api/4/industries

XML format request

<industry>
<name>Banking</name>
</industry>

 

JSON format request

{
        "name": "Banking"
}

 

HTTP Response

Success

HTTP response 201

Error

See  API Error messages 

 

XML response

<industry>
	<id>3</id>
	<name>Banking</name>
	<link>http://example.com/context/api/4/industries/3</link>
</industry>

 

JSON response

{
    "id": 3,
    "name": "Banking",
    "link": "http://example.com/context/api/4/industries/3"
 }

 

Error messages

 

Summary Ref Code (V4) Ref Code (before V4)

An industry sector name is required

298 N/A

This industry sector name already exists

296 N/A

 

Comments


0 Comments

Last Updated: Jun 10,2023