GET request/clevel/projects

Returns the projects that adfre linked to the API KEy

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ProjectsResponse
NameDescriptionTypeAdditional information
IsServerError

boolean

None.

IsSuccess

boolean

None.

JsonResult

string

None.

projects

Collection of ProjectsView

None.

Response Formats

application/json, text/json

Sample:
{
  "projects": [
    {
      "id": 1,
      "name": "sample string 2",
      "location": "sample string 3",
      "overview": "sample string 4",
      "discription": "sample string 5",
      "link": "sample string 6",
      "imageBase64": "sample string 7"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "location": "sample string 3",
      "overview": "sample string 4",
      "discription": "sample string 5",
      "link": "sample string 6",
      "imageBase64": "sample string 7"
    }
  ],
  "jsonResult": "sample string 1",
  "isSuccess": true,
  "isServerError": true
}

application/xml, text/xml

Sample:
<CLevelcarbon.ProjectsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGenius.Api.Models.CLevelCarbon">
  <IsServerError>true</IsServerError>
  <IsSuccess>true</IsSuccess>
  <JsonResult>sample string 1</JsonResult>
  <projects>
    <CLevelcarbon.ProjectsView>
      <Discription>sample string 5</Discription>
      <Id>1</Id>
      <ImageBase64>sample string 7</ImageBase64>
      <Link>sample string 6</Link>
      <Location>sample string 3</Location>
      <Name>sample string 2</Name>
      <Overview>sample string 4</Overview>
    </CLevelcarbon.ProjectsView>
    <CLevelcarbon.ProjectsView>
      <Discription>sample string 5</Discription>
      <Id>1</Id>
      <ImageBase64>sample string 7</ImageBase64>
      <Link>sample string 6</Link>
      <Location>sample string 3</Location>
      <Name>sample string 2</Name>
      <Overview>sample string 4</Overview>
    </CLevelcarbon.ProjectsView>
  </projects>
</CLevelcarbon.ProjectsResponse>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="projects[0].Id"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="projects[0].Name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="projects[0].Location"

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

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="projects[0].Discription"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="projects[0].Link"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="projects[0].ImageBase64"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="projects[1].Id"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="projects[1].Name"

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

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="projects[1].Overview"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="projects[1].Discription"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="projects[1].Link"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="projects[1].ImageBase64"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="JsonResult"

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

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IsServerError"

True
--MultipartDataMediaFormatterBoundary1q2w3e--