Partnerships
CRUD endpoints for a user's partnerships
Get All Partnerships
GET /v2/organization/:corporation/expert/:username/partnership
Headers
Content-Type
application/json
Authorization
Bearer <token>
Url
corporation
number
Corporation ID
username
string
Unique username
Response
{
data: [
{
id: 1,
title: 'Partnership title',
individual: 'Individual Name',
organization: 'Organization Name',
url: 'http://www.myurl.com',
details: 'Partnership details',
date: 0
},
],
success: true
}Code
Get Individual Partnership
GET /v2/organization/:corporation/expert/:username/partnership/:id
Headers
Content-Type
application/json
Authorization
Bearer <token>
Url
corporation
number
Corporation ID
username
string
Unique username
id
number
Partnership ID
Response
Code
Create Partnership
POST /v2/organization/:corporation/expert/:username/partnership
Headers
Content-Type
application/json
Authorization
Bearer <token>
Url
corporation
number
Corporation ID
username
string
Unique username
Body
title*
string
Partnership Title
organization
string
Partnership Organization
details*
string
Partnership Detail
date
unix timestamp
PartnershipDate
url
string
Partnership Url
individual*
string
Partnership Individual
Response
Code
Update Partnership
PUT /v2/organization/:corporation/expert/:username/partnership/:id
Headers
Content-Type
application/json
Authorization
Bearer <token>
Url
corporation
number
Corporation ID
username
string
Unique username
id
number
Partnership ID
Body
title*
string
Partnership Title
organization
string
Partnership Organization
details*
string
Partnership Detail
date
unix timestamp
PartnershipDate
url
string
Partnership Url
individual*
string
Partnership Individual
Response
Code
Delete Partnership
DELETE /v2/organization/:corporation/expert/:username/partnership/:id
Headers
Content-Type
application/json
Authorization
Bearer <token>
Url
corporation
number
Corporation ID
username
string
Unique username
id
number
Partnership ID
Response
Code
Last updated
Was this helpful?