POST api/Project/StopProject

Stop project

Request Information

URI Parameters

None.

Body Parameters

ChangeProjectStatusParam
NameDescriptionTypeAdditional information
ProjectId

Project identifier

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": 1
}

application/xml, text/xml

Sample:
<ChangeProjectStatusParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDEV.RookeeWebApi.Models.InputData">
  <ProjectId>1</ProjectId>
</ChangeProjectStatusParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProjectInfo
NameDescriptionTypeAdditional information
Id

Project identifier

integer

None.

Domain

ProjectDomain

string

None.

Status

Project Status

ProjectStatus

None.

StatusCode

Response status code

ApiStatusCode

None.

ErrorMsg

Error text if status code not Ok

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Domain": "sample string 2",
  "Status": 1,
  "StatusCode": 0,
  "ErrorMsg": "sample string 3"
}