GET api/Projects?id={id}

Gets the project with the given ID.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the project.

integer

Required

Body Parameters

None.

Response Information

Resource Description

The requested project.

Project
NameDescriptionTypeAdditional information
Id

The ID of the project.

integer

None.

Name

The name of the project.

string

None.

Identifier

A unique name for the project.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "Project Name",
  "Identifier": "Project 1"
}

application/xml, text/xml

Sample:
<Project xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ForeCoastMarine.Core.Models">
  <Id>1</Id>
  <Identifier>Project 1</Identifier>
  <Name>Project Name</Name>
</Project>