PUT projects/{projectId}/questions/{questionId}/status
Reviews an answer to a project question
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| projectId |
Project Id |
globally unique identifier |
Required |
| questionId |
Question Id |
integer |
Required |
Body Parameters
Question status
SourceItemStatus| Name | Description | Type | Additional information |
|---|---|---|---|
| Status |
Status |
SourceItemStatusValues |
None. |
| Comment |
Latest comment |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Status": "Pending",
"Comment": "sample string 1"
}
application/xml, text/xml
Sample:
<SourceItemStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sif.Source.Api.Models"> <Comment>sample string 1</Comment> <Status>Pending</Status> </SourceItemStatus>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Updated project question
SourceQuestionProject| Name | Description | Type | Additional information |
|---|---|---|---|
| FieldValue |
Field value |
SourceFieldValue |
None. |
| Status |
Status |
SourceItemStatus |
None. |
| Stage |
Stage |
ReferenceData |
None. |
| Theme |
Theme |
ReferenceData |
None. |
| Subsector |
Subsector |
ReferenceData |
None. |
| Id |
Internal Id on the project |
integer |
None. |
| SourceId |
Id in SOURCE template |
string |
None. |
| DocumentRequired |
True if a document may be required, False otherwise |
boolean |
None. |
| Field |
Question properties |
SourceField |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.