Create user’s profile experience.
Experiences
POST create experience
Endpoint
POST /api/v1/experiences
Parameters
Name | Description |
---|---|
experience[profile_id] | Experience profile |
experience[role] required | Experience role |
experience[company] required | Experience company |
experience[description] required | Experience description |
experience[start_date] required | Experience start date |
experience[end_date] | Experience end date |
experience[ongoing] | Experience ongoing |
Request
Route
POST /api/v1/experiences
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzMjMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3Mzc1NTE1NTgsImV4cCI6MTc0MDE0MzU1OCwianRpIjoiOTExMGEzNGItOTYyYS00OGIxLWI5MWYtZGU5MzFjMDFjMDg5In0.KKWz1SyJZTEAhtxa8bVSP1wgzt76X2O3pqrnA2febOY
Host: example.org
Cookie:
Body
{
"experience": {
"role": "Product Planner",
"company": "Flatley and Sons",
"description": "Laborum pariatur et repudiandae.",
"start_date": "2023-04-11",
"end_date": "2024-02-02",
"profile_id": 94
}
}
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"2a62a5876dab06a4ca087af0a9f57322"
cache-control: max-age=0, private, must-revalidate
x-request-id: 6f63a199-b37a-494b-8ba4-5bf46154170f
x-runtime: 0.006280
content-length: 176
Body
{
"experience": {
"id": 7,
"company": "Flatley and Sons",
"description": "Laborum pariatur et repudiandae.",
"end_date": "2024-02-02",
"role": "Product Planner",
"start_date": "2023-04-11"
}
}