Fellowship One REST API

Requirement Document

An requirementDocument is a resource that belongs to a peopleRequirement and can contain report data from an outside source.

Authentication

This method requires Authentication

Methods

Images ::

Method: show [GET]

The show method will return a requirementDocument in the context of a peopleRequirement based on context (people/{id}).

Notes ::

Content-types ::

Format ::

Parameters ::

Sample Response ::

Given: [GET] https://demo.staging.fellowshiponeapi.com/v1/People/1522375/Requirements/1603454/Documents

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/pdf
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Tue, 28 Apr 2009 02:10:10 GMT
Content-Length: 2335

Request body: File stream returned.

Method: create [POST]

The create method will create a requirementDocument within the context of a peopleRequirement.

Notes ::

Content-types ::

Format ::

Parameters ::

Required Fields ::

Sample Response ::

Given: [POST] https://demo.staging.fellowshiponeapi.com/v1/People/1635398/Requirements/4356343/Documents

Request body: File stream posted

Response

HTTP/1.1 201 Created
Cache-Control: private
Content-Type: image/jpeg
Location: {{CONSUMER_DOMAIN}/people/1635398/requirements/4356343/documents
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 2.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Thu, 05 May 2011 04:15:51 GMT
Content-Length: 2704

Response body: File stream created

Method: update [PUT] [POST (Low REST)]

The update method will update a requirementDocument in the context of a peopleRequirement.

Notes ::

Content-types ::

Parameters ::

Required Fields ::

Sample Response ::

Given: [PUT] https://demo.staging.fellowshiponeapi.com/v1/People/13707831/Requirements/123456/Documents

Request body: File stream posted

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: image/jpeg
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 2.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Thu, 05 May 2011 04:29:41 GMT
Content-Length: 2704