Research Grants

CRUD endpoints for a user's research grants

Please note that in all urls & code samples you'll need to replace:username and :corporation with appropriate values

Get All Research Grants

GET /v2/organization/:corporation/expert/:username/researchgrant

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Url

Name
Type
Description

corporation

number

Corporation ID

username

string

Unique username

Response

 {
  data: [
    {
      id: 1,
      title: 'Research Grant Title',
      organization: 'Organization',
      url: 'https://grant.com',
      details: 'Details',
      date: 0,
      amount: '10',
      currency: '$'
    },
  ],
  success: true
}

Code

Get Individual Research Grant

GET /v2/organization/:corporation/expert/:username/researchgrant/:id

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Url

Name
Type
Description

corporation

number

Corporation ID

username

string

Unique username

id

number

Research Grant ID

Response

Code

Create Research Grant

POST /v2/organization/:corporation/expert/:username/researchgrant

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Url

Name
Type
Description

corporation

number

Corporation ID

username

string

Unique username

Body

Name
Type
Description

title*

string

Grant Title

organization*

string

Grant Organization

details*

string

Grant Detail

date

unix timestamp

Grant Date

url

string

Grant Url

amount

string

Grant Amount

currency

string

Grant Currency

Response

Code

Update Research Grant

PUT /v2/organization/:corporation/expert/:username/researchgrant/:id

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Url

Name
Type
Description

corporation

number

Corporation ID

username

string

Unique username

id

number

Research Grant ID

Body

Name
Type
Description

title*

string

Grant Title

organization*

string

Grant Organization

details*

string

Grant Detail

date

unix timestamp

Grant Date

url

string

Grant Url

amount

string

Grant Amount

currency

string

Grant Currency

Response

Code

Delete Research Grant

DELETE /v2/organization/:corporation/expert/:username/researchgrant/:id

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Url

Name
Type
Description

corporation

number

Corporation ID

username

string

Unique username

id

number

Research Grant ID

Response

Code

Last updated

Was this helpful?