Skip to main content

Projects

GET Projects#

Get a specific organization by id.

GET ALL
MethodGET ALL
URL or EndPoint/api/v{version}/organizations/{organizationId}/projects
HeadersAuthorization
ParametersorganizationId, version
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
organizationIdYesstring($uuid)v1The identifier for the organization
organizationsYesstringv1Directs to the organizations
projectsYesstringv1Directs to the projects

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
VersionYesstringv1Shows the version of API
organizationIdYesstring($uuid)v1The identifier for the organization

Request Body#

The request does not have a request body.

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{  "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": {    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "name": "string"  },  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will return false
errorsarray []"string"Indicate if there was an error
messagesarray []"string"Returns the response message from back-end
resultarray [object]Returns an object of projects
idstring"string"Returns the identifier of project
namestring"string"Returns the name of project
resultInfoarray [object]Returns an object of behavior
totalCountinteger($int32)0How many records of behavior entity are in database
pageIndexinteger($int32)0Returns how many pages of paganed data are
pageSizeinteger($int32)0Returns paganed data
totalPagesinteger($int32)0How many pages
hasNextPagebooltrueReturns the next page of paganed data
hasPreviousPagebooltrueReturns the previous page of paganed data

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found

POST Project#

Add new organization to the store.

POST
MethodPOST
URL or EndPoint/api/v{version}/organizations/{organizationId}/projects
HeadersAuthorization
ParametersorganizationId, version
Body{name}

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
organizationIdYesstring($uuid)v1The identifier for the organization
organizationsYesstringv1Directs to the organizations
projectsYesstringv1Directs to the projects

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
VersionYesstringv1Shows the version of API
organizationIdYesstring($uuid)v1The identifier for the organization

Request body#


{  "name": "string"}

The description of the parameters is as follows:

Body Parameter NameMandatoryTypeExampleDescription
nameYesstring"string"Sends the name of the project to create

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{  "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": {    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "name": "string"  },  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will return false
errorsarray []"string"Indicate if there was an error
messagesarray []"string"Returns the response message from back-end
resultarray [object]Returns an object of created project
idstring"string"Returns the identifier of created project
namestring"string"Returns the name of created project
resultInfoarray [object]Returns an object of behavior
totalCountinteger($int32)0How many records of behavior entity are in database
pageIndexinteger($int32)0Returns how many pages of paganed data are
pageSizeinteger($int32)0Returns paganed data
totalPagesinteger($int32)0How many pages
hasNextPagebooltrueReturns the next page of paganed data
hasPreviousPagebooltrueReturns the previous page of paganed data

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found

GET Project#

Get a specific organization by id

GET
MethodGET
URL or EndPoint/api/v{version}/organizations/{organizationId}/projects/{projectId}
HeadersAuthorization
ParametersorganizationId, version, projectId
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
{organizationId}Yesstring($uuid)v1The identifier for the organization
organizationsYesstringv1Directs to the organizations
projectsYesstringv1Directs to the projects
{projectId}Yesstring($uuid)v1The identifier for the project

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
VersionYesstringv1Shows the version of API
projectIdYesstring($uuid)v1The identifier for the project

Request Body#

The request does not have a request body.

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{  "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": {    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "name": "string"  },  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will return false
errorsarray []"string"Indicate if there was an error
messagesarray []"string"Returns the response message from back-end
resultarray [object]Returns an object of project
idstring"string"Returns the identifier of project
namestring"string"Returns the name of project
resultInfoarray [object]Returns an object of behavior
totalCountinteger($int32)0How many records of behavior entity are in database
pageIndexinteger($int32)0Returns how many pages of paganed data are
pageSizeinteger($int32)0Returns paganed data
totalPagesinteger($int32)0How many pages
hasNextPagebooltrueReturns the next page of paganed data
hasPreviousPagebooltrueReturns the previous page of paganed data

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found

PUT Organization#

Updates an organization in the store with form data.

PUT
MethodPUT
URL or EndPoint/api/v{version}/organizations/{organizationId}/projects/{projectId}
HeadersAuthorization
ParametersorganizationId, version, projectId
Body{name}

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
{organizationId}Yesstring($uuid)v1The identifier for the organization
organizationsYesstringv1Directs to the organizations
projectsYesstringv1Directs to the projects
{projectId}Yesstring($uuid)v1The identifier for the project

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
VersionYesstringv1Shows the version of API
projectIdYesstring($uuid)v1The identifier for the project

Request body#

{    "id": "string",  "name": true,  }

The description of the parameters is as follows:

Body Parameter NameMandatoryTypeExampleDescription
idYesstring"string"Sends the identifier for updated project
nameYesstring"string"Sends the name for updated project

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{  "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": {    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "name": "string"  },  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will return false
errorsarray []"string"Indicate if there was an error
messagesarray []"string"Returns the response message from back-end
resultarray [object]Returns an object of projects
idstring"string"Returns the identifier of updated project
namestring"string"Returns the name of updated project
resultInfoarray [object]Returns an object of behavior
totalCountinteger($int32)0How many records of behavior entity are in database
pageIndexinteger($int32)0Returns how many pages of paganed data are
pageSizeinteger($int32)0Returns paganed data
totalPagesinteger($int32)0How many pages
hasNextPagebooltrueReturns the next page of paganed data
hasPreviousPagebooltrueReturns the previous page of paganed data

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found

DELETE Project#

Deletes an organization.

DELETE
MethodDELETE
URL or EndPoint/api/v{version}/organizations/{organizationId}/projects/{projectId}
HeadersAuthorization
ParametersorganizationId, version, projectId
Body

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
{organizationId}Yesstring($uuid)v1The identifier for the organization
organizationsYesstringv1Directs to the organizations
projectsYesstringv1Directs to the projects
{projectId}Yesstring($uuid)v1The identifier for the project

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
VersionYesstringv1Shows the version of API
projectIdYesstring($uuid)v1The identifier for the project

Request Body#

The request does not have a request body.

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{  "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": {    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "name": "string"  },  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will return false
errorsarray []"string"Indicate if there was an error
messagesarray []"string"Returns the response message from back-end
resultarray [object]Returns an object of project
idstring"string"Returns the identifier of deleted project
namestring"string"Returns the name of deleted project
resultInfoarray [object]Returns an object of behavior
totalCountinteger($int32)0How many records of behavior entity are in database
pageIndexinteger($int32)0Returns how many pages of paganed data are
pageSizeinteger($int32)0Returns paganed data
totalPagesinteger($int32)0How many pages
hasNextPagebooltrueReturns the next page of paganed data
hasPreviousPagebooltrueReturns the previous page of paganed data

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found