GET api/Projects/{project}

Get the details of a Project

Request Information

URI Parameters

NameDescriptionTypeAdditional information
project

Project Code

string

Required

Body Parameters

None.

Response Information

Resource Description

ProjectDetail
NameDescriptionTypeAdditional information
Code

string

None.

Type

Type

None.

Description

string

None.

State

ProjectState

None.

Scheduled

date

None.

Start

date

None.

End

date

None.

WorkType

string

None.

WorkOrders

Collection of WorkBase

None.

Response Formats

Sample:
{
  "Code": "sample string 1",
  "Type": "Create",
  "Description": "sample string 2",
  "State": "InProgress",
  "Scheduled": "2024-11-14T16:26:09.9702749+00:00",
  "Start": "2024-11-14T16:26:09.9702749+00:00",
  "End": "2024-11-14T16:26:09.9702749+00:00",
  "WorkType": "sample string 3",
  "WorkOrders": [
    {
      "State": "InProgress",
      "StateEx": "ScheduledGreen",
      "Code": "sample string 1",
      "Description": "sample string 2"
    },
    {
      "State": "InProgress",
      "StateEx": "ScheduledGreen",
      "Code": "sample string 1",
      "Description": "sample string 2"
    }
  ]
}
Sample:
<ProjectDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.Projetos">
  <Code>sample string 1</Code>
  <Description>sample string 2</Description>
  <End>2024-11-14T16:26:09.9702749+00:00</End>
  <Scheduled>2024-11-14T16:26:09.9702749+00:00</Scheduled>
  <Start>2024-11-14T16:26:09.9702749+00:00</Start>
  <State>InProgress</State>
  <Type>Create</Type>
  <WorkOrders>
    <WorkBase>
      <Code xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.ManWinWin">sample string 1</Code>
      <Description xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.ManWinWin">sample string 2</Description>
      <State>InProgress</State>
      <StateEx>ScheduledGreen</StateEx>
    </WorkBase>
    <WorkBase>
      <Code xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.ManWinWin">sample string 1</Code>
      <Description xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.ManWinWin">sample string 2</Description>
      <State>InProgress</State>
      <StateEx>ScheduledGreen</StateEx>
    </WorkBase>
  </WorkOrders>
  <WorkType>sample string 3</WorkType>
</ProjectDetail>
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Code"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Type"

Create
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Description"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="State"

InProgress
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Scheduled"

2024-11-14T16:26:09.9702749+00:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Start"

2024-11-14T16:26:09.9702749+00:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="End"

2024-11-14T16:26:09.9702749+00:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="WorkType"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="WorkOrders[0].State"

InProgress
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="WorkOrders[0].StateEx"

ScheduledGreen
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="WorkOrders[0].Code"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="WorkOrders[0].Description"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="WorkOrders[1].State"

InProgress
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="WorkOrders[1].StateEx"

ScheduledGreen
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="WorkOrders[1].Code"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="WorkOrders[1].Description"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--