API / Business

Entity Description:

Business can be used to define a Business Unit in an organization. The Business entity can be populated with departments, divisions, or business units in an organization (e.g. Human Resources, Marketing department, Automotive division, Maintenance division, etc…).

 

Properties

Name Description Type Additional
Information
ID Int32
Name String

 

Entity Statement

Creating a Business
Request
POST /ssv3/odata/Businesses
Content-Type     
application/json
Request body
{
“ID”:”0″,”Name”:”New Business”
}
Response body
{
“ID”:”1″,”Name”:”New Business”
}
Deleting a Business
  Request
  DELETE /ssv3/odata/Businesses(1)
  Response Headers
  HTTP/1.1 204 No Content
Getting a Business
  Request
  GET /ssv3/odata/Businesses(1)
  Content-Type     
  application/json
  Response body
  {
“ID”:1,”Name”:”New Business”
}
Updating a Business
  Request
  PUT /ssv3/odata/Businesses(1)
  Content-Type     
  application/json
  Request body
  {
“ID”:”0″,”Name”:”New Business”
}
  Response Headers
  HTTP/1.1 204 No Content
Getting all Businesses
  Request
  GET /ssv3/odata/Businesses
  Content-Type
  application/json
  Response body
  “value”:[{
“ID”:0,”Name”:”New Business”
},{
“ID”:1,”Name”:”New Business”
}]