CaseCamp API
API Documentation

This is a self-navigating API documentation. Please feel free to explore across the Index. API calls gives you a hands-on experience of those methods provided. Field reference lists, describes the type of information provided by the API.

API Methods

CaseCamp API
API Documentation

This is a self-navigating API documentation. Please feel free to explore across the Index. API calls gives you a hands-on experience of those methods provided. Field reference lists, describes the type of information provided by the API.

API Methods

Authentication API

This is a self-navigating API documentation. Please feel free to explore across the Index. API calls gives you a hands-on experience of those methods provided. Field reference lists, describes the type of information provided by the API.

Account

GET

https://casecamp.com/api/account

Usage and Examples

curl -X GET "https://casecamp.com/api/account"

HTTParty.get('https://casecamp.com/api/account')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token:xxx
    }
Responses
Status: 202 - Success
  • {
    • "data":{ "success":boolean "firstName":"string", "email":"string", "lastName":"string" }
    }
  • {
    • "data":{ "firstName":"test", "email":"test1@gmail.com", "lastName":"Mas" },
    • "success":true
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "error": "string"
    }
  • {
    • "success": false, "error": "INVALID_TOKEN"
    }

Login

POST

https://casecamp.com/api/login

Usage and Examples

curl -X POST "https://casecamp.com/api/login"

HTTParty.post('https://casecamp.com/api/login')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • email:test1@gmail.com password:password
    }
Responses
Status: 202 - Success
  • {
    • "success":boolean, "name":"string", "role":"string", "avatar":"string", "access_token":"string",
    }
  • {
    • name":"Test M", "role":"owner", "avatar":"https://casecamp.com/assets/profile/owner.jpg", "access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImV4cCI6IjIw MTktMDUtMTUgMTM6MjI6NDkgKzA1MzAifQ.eyJpZCI6NiwidXBkYXRlZF9hdCI6IjIwMTktMDUtMDggMDc6NDc6NTUgVVRD IiwiZW1haWwiOiJrYXJ0aGlrZXlhNDU4QGdtYWlsLmNvbSJ9.A8tuNuKwAUIPUUuvEa-9HSM5mnwQgeklP3pAJo8i980",
    • "success":true
    }
Responses
Status: 302 - Error
  • {
    • "success":boolean, "error":"string"
    }
  • {
    • "success":false, "error":"INVALID_CREDENTIALS"
    }
GET

https://casecamp.com/api/info

Usage and Examples

curl -X GET https://casecamp.com/api/info

HTTParty.get('https://casecamp.com/api/info')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token:xxx
    }
Responses
Status: 202 - Success
  • {
    • "email":"String" "success":boolean"
    }
  • {
    • "data":{ "email":"test1@gmail.com" }, "success":true"
    }
Responses
Status: 302 - Error
  • {
    • "success": booelan, "error": "string"
    }
  • {
    • "success": false, "error": "INVALID_TOKEN"
    }

Get Status Report

GET

https://casecamp.com/api/status_report

Usage and Examples

"https://casecamp.com/api/status_report"

HTTParty.get('https://casecamp.com/api/status_report')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token:xxx
    }
Responses
Status: 202 - Success
  • {
    • "data":{ "date":"string", "times":[
    }
  • {
    • {
      • "data":{ "date":"2019-05-08", "times":[
      }
    • {
      • "time":"5:00PM", "projects":[
      }
    • {
      • "code":"10378", "title":"Darnell Lester Project", "cases":[
      }
    • {
      • "code":"18209", "name":"Requirements Before Going Live", "comments":257, "unreaded_comments":9, "last_updated":"08-May-19"
      }
  • }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "error": "string"
    }
  • {
    • "success": false, "error": "INVALID_TOKEN"
    }

Update user Password

PUT

https://casecamp.com/api/password

Usage and Examples

curl -X PUT "https://casecamp.com/api/password"

HTTParty.put('https://casecamp.co m/api/password')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token:xxx data[email]:test123.auctionsoftware@gmail.com data[firstName]:testing data[lastName]:M
    }
Responses
Status: 202 - Success
  • {
    • "success":boolean,
    }
  • {
    • "success":true,
    }
Responses
Status: 302 - Error
  • {
    • success":boolean, "error":"string", "data":{ "last_changed":"string" }
    }
  • {
    • "success":false, "error":"INVALID_CREDENTIALS", "data":{ "last_changed":"about 20 hours" }
    }

Update User Account

PATCH

https://casecamp.com/api/account

Usage and Examples

curl -X PATCH "https://casecamp.com/api/account"

HTTParty.patch('https://casecamp.com/api/account')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token:xxx data[old_value]:password data[new_value]:testpassword
    }
Responses
Status: 202 - Success
  • {
    • "success":boolean,
    }
  • {
    • "success":true,
    }
Responses
Status: 302 - Error
  • {
    • "success":boolean, "error":"string",
    }
  • {
    • "success": false, "error": "INVALID_TOKEN"
    }

Get Activities

GET

https://casecamp.com/api/activity

Usage and Examples

curl -X PUT "https://casecamp.com/api/activity"

HTTParty.get('https://casecamp.co m/api/activity')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token:xxx
    }
Responses
Status: 202 - Success
  • {
    • "data":[], "success":booolean"
    }
  • {
    • "data":[], "success":true"
    }
Responses
Status: 302 - Error
  • {
    • "success" : boolen, "error" : string
    }
  • {
    • "success": false, "error": "INVALID_TOKEN"
    }

Vacation Details

GET

https://casecamp.com/api/vacation_details

Usage and Examples

curl -X GET "https://casecamp.com/api/vacation_details"

HTTParty.get('https://casecamp.com/api/vacation_details')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token=xxx
    }
Responses
Status: 202 - Success
  • {
    • "data": { "period": "string", "total_month": int, "current_accural": int, "time_of_taken": int, "last_month_time_off": int, "earned": int, "time_adjustment": int, "accrual_balance": int, "pending_vacation": boolean" }, "success": boolean
    }
  • {
    • "data": { "period": "01-Dec-2018 - 10-May-2019", "total_month": 5, "current_accural": 8, "time_of_taken": 48, "last_month_time_off": 0, "earned": 40, "time_adjustment": 0, "accrual_balance": -8, "pending_vacation": false }, "success": true
    }
Responses
Status: 302 - Error
  • {
    • data=>{\:success=>false, error=>"SERVER_ERROR" }, success=>true
    }
  • {
    • :data=>{:success=>false, :error=>"SERVER_ERROR"}, :success=>true
    }

All Cases

GET

https://casecamp.com/api/all_cases

Usage and Examples

curl -X GET "https://casecamp.com/api/all_cases"

HTTParty.get('https://casecamp.com/api/all_cases')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token=xxx
    }
Responses
Status: 202 - Success
  • {
    • "data":{ "project":[ { "code":"string", "title":"string", "cases":[ { "code":"int", "name":"string", "comments":int, "unreaded_comments":int, "last_updated":"string" }, { "code":"int", "name":"string", "comments":int, "unreaded_comments":int, "last_updated":"string" }
    }
  • {
    • "data":{ "project":[ { "code":"10331", "title":"John hughes", "cases":[ { "code":"23048", "name":"Company Data Updates - Notification preference change for admin", "comments":22, "unreaded_comments":12, "last_updated":"07-May-19 by Mario" }, { "code":"23259", "name":"Admins can assign a specific vendor user to a specific client project.", "comments":15, "unreaded_comments":6, "last_updated":"03-May-19 by Mario" }
    }
Responses
Status: 302 - Error
  • {
    • "success":boolean, "error":"string",
    }
  • {
    • "success":false, "error":"SERVER_ERROR"
    }

Categories

GET

https://casecamp.com/api/categories

Usage and Examples

curl -X GET "https://casecamp.com/api/categories"

HTTParty.get('https://casecamp.com/api/categories')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token=xxx
    }
Responses
Status: 202 - Success
  • {
    • "data": { "projects": [ { "code": "int", "title": "string", "categories": [ { "id": int, "name": "string", "due_date": "2017-09-30", "cases": 0, "comments": int, "unreaded_comments": int } ]
    }
  • {
    • "data": { "projects": [ { "code": "10331", "title": "John hughes", "categories": [ { "id": 944, "name": "Maintainence Tasks", "due_date": "2017-09-30", "cases": 0, "comments": 253, "unreaded_comments": 153 }, { "id": 1687, "name": "Landon Cases", "due_date": "2019-04-30", "cases": 2, "comments": 254, "unreaded_comments": 144 }, { "id": 1724, "name": "Ready for live push", "due_date": "2019-05-08", "cases": 6, "comments": 64, "unreaded_comments": 30 } ]
    }
Responses
Status: 302 - Error
  • {
    • "success" : boolen, "error" : string
    }
  • {
    • "success":false, "error":"SERVER_ERROR"
    }

Completed Cases

GET

https://casecamp.com/api/completed_cases

Usage and Examples

curl -X GET "https://casecamp.com/api/completed_cases"

HTTParty.get('https://casecamp.com/api/completed_cases')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token=xxx
    }
Responses
Status: 202 - Success
  • {
    • { "data": { "project": [ { "code": "int", "title": "string", "cases": [ { "code": "17113", "name": "string" Company Name: Contact Name: ", "comments": int, "unreaded_comments": int, "last_updated": "string" }
    }
  • {
    • { "data": { "project": [ { "code": "10331", "title": "John hughes", "cases": [ { "code": "17113", "name": "When the vendor is looking at a buyer profile the fields are not matching . It currently comes up as- Company Name: Contact Name: ", "comments": 10, "unreaded_comments": 4, "last_updated": "14-Sep-17 by Sureka" }
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "error": "String"
    }
  • {
    • "success": false, "error": "SERVER_ERROR"
    }

All Tickets

GET

https://casecamp.com/api/all_tickets

Usage and Examples

https://casecamp.com/api/all_tickets

curl -X GET "https://casecamp.com/api/all_tickets"

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token=xxx
    }
Responses
Status: 202 - Success
  • {
    • { "data": { "project": [ { "code": "string", "title": "string", "tickets": [ { "id": int, "subject": "string", "reason": "string", "priority": "int", "status": "string", "assignee_id": int, "assignee_name": [ "Steve", int ], "comments": int, "unreaded_comments": int }
    }
  • {
    • { "data": { "project": [ { "code": "10338", "title": "BuyriteDental", "tickets": [ { "id": 1130, "subject": "Instructions on Setting up Facebook Pixel", "reason": "Feature Request", "priority": "P1", "status": "On Hold", "assignee_id": 746, "assignee_name": [ "Steve", 746 ], "comments": 9, "unreaded_comments": 5 }
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "error": "String"
    }
  • {
    • "success": false, "error": "SERVER_ERROR"
    }

User Tickets

GET

https://casecamp.com/api/user_tickets

Usage and Examples

curl -X GET "https://casecamp.com/api/user_tickets"

HTTParty.get('https://casecamp.com/api/user_tickets')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token=xxx
    }
Responses
Status: 202 - Success
  • {
    • { "data": { "project": [] }, "success": boolean }
    }
  • {
    • "data": { "project": [] }, "success": true
    }
Responses
Status: 302 - Error
  • {
    • "success":boolean, "error":"string",
    }
  • {
    • "success": false, "error": "SERVER_ERROR"
    }

New Ticket

GET

https://casecamp.com/api/new_ticket

Usage and Examples

curl -X GET "https://casecamp.com/api/new_ticket"

HTTParty.get('https://casecamp.com/api/new_ticket')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token=xxx
    }
Responses
Status: 202 - Success
  • {
    • { "data": { "project": [ { "name": "string", "id": int, "code": "int", "managers": [ { "id": int, "name": "string" } ] } ], "priority": { "1": { "name": "string", "value": "string" } }, "status": { "1": { "name": "string", "value": "string" }, }, "reason": { "1": { "name": "string", "value": "string" } } }, "success": true }
    }
  • {
    • { "data": { "project": [ { "name": "Overhaul Bids", "id": 45, "code": "10021", "managers": [ { "id": 2, "name": "Sreevalli" }, { "id": 351, "name": "HR" }, { "id": 731, "name": "Dhivya" } ] } ], "priority": { "1": { "name": "urgent", "value": "P0" }, "2": { "name": "P1", "value": "P1" }, "3": { "name": "P2", "value": "P2" }, "4": { "name": "P3", "value": "P3" }, "5": { "name": "P4", "value": "P4" } }, "status": { "1": { "name": "Open", "value": "Open" }, "2": { "name": "On Hold", "value": "On Hold" } }, "reason": { "1": { "name": "Existing problem", "value": "Existing problem" }, "2": { "name": "New Problem", "value": "New Problem" }, "3": { "name": "Feature Request", "value": "Feature Request" } } }, "success": true }
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "error": "string"
    }
  • {
    • "success": false, "error": "SERVER_ERROR"
    }

New Case

GET

https://casecamp.com/api/new_case

Usage and Examples

curl -X GET "https://casecamp.com/api/new_case"

HTTParty.get('https://casecamp.com/api/new_case')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token=xxx
    }
Responses
Status: 202 - Success
  • {
    • "data": { "project":
      • [ {
        • "name": "String", "code": "string", "categories": [ { "id": int, "name": "String" } ], "members": [ { "id":int, "name": "String" }
        } ],
    }
  • {
    • "data": { "project":
      • [ {
        • "name": "John hughes", "code": "10331", "categories": [ { "id": 944, "name": "Maintainence Tasks" }, { "id": 1687, "name": "Landon Cases" }, { "id": 1724, "name": "Ready for live push" } ], "members": [ { "id": 1, "name": "Rajesh" }, { "id": 2, "name": "Sreevalli" }, { "id": 735, "name": "John" }, { "id": 50, "name": "Aaron Designer" }, { "id": 46, "name": "Ashley Designer" }, { "id": 280, "name": "yasmin" }, { "id": 759, "name": "Mounika" }, { "id": 217, "name": "Henna" }, { "id": 766, "name": "Bosch" }, { "id": 535, "name": "Augustina" }, { "id": 117, "name": "Karthik" }, { "id": 731, "name": "Dhivya" }, { "id": 1121, "name": "Bushra" }, { "id": 204, "name": "Server Team" }, { "id": 1112, "name": "Patrick" }, { "id": 1185, "name": "Landon" }, { "id": 942, "name": "Mario" }, { "id": 909, "name": "Victor" }
        } ],
    }
Responses
Status: 302 - Error
  • {
    • "success" : boolen, "error" : string
    }
  • {
    • "success": false, "error": "SERVER_ERROR"
    }

Vacation Request

POST

https://casecamp.com/api/new_case

Usage and Examples

curl -X GET "https://casecamp.com/api/vacation_request"

HTTParty.get('https://casecamp.com/api/vacation_request')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token:xxx data[from]:2019-05-31 data[to]:2019-05-31 date[cc]:dhivya@auctionsoftware.com data[hours]:8 data[reason]:4 data[description]:API Test
    }
Responses
Status: 202 - Success
  • {
    • "success":boolean
    }
  • {
    • "success":True
    }
Responses
Status: 302 - Error
  • {
    • "success":boolean, "error":"string"
    }
  • {
    • "success": false, "error": "SERVER_ERROR"
    }

Category Cases

GET

https://casecamp.com/api/category_cases

Usage and Examples

curl -X GET "https://casecamp.com/api/category_cases"

HTTParty.get('https://casecamp.com/api/category_cases')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token:xxx data[category_id]:1691
    }
Responses
Status: 202 - Success
  • {
    • "data": { "cases": { "id": number, "title": "String", "cases": [ { "code": "string", "name": "string", "comments": number, "unreaded_comments": number, "last_updated": "string" } ] } }, "success": boolean
    }
  • {
    • "data": { "cases": { "id": 1691, "title": "Requirement Gathering", "cases": [ { "code": "22868", "name": "Basic Req Docs", "comments": 6, "unreaded_comments": 5, "last_updated": "20-Apr-19 by Bushra" }, { "code": "22869", "name": "Design Docs", "comments": 49, "unreaded_comments": 48, "last_updated": "08-May-19 by Shpend" }, { "code": "22870", "name": "Invision link to comment feedback", "comments": 16, "unreaded_comments": 15, "last_updated": "19-Mar-19 by Bushra" }, { "code": "22874", "name": "14th and 15th Meeting", "comments": 8, "unreaded_comments": 6, "last_updated": "20-Mar-19 by Sreevalli" }, { "code": "22884", "name": "Clarification ", "comments": 26, "unreaded_comments": 23, "last_updated": "02-May-19 by Shpend" }, { "code": "22944", "name": "Backend Tables - Pricelists - Categories - Templates", "comments": 8, "unreaded_comments": 6, "last_updated": "22-Mar-19 by Shpend" }, { "code": "23148", "name": "Design Docs - Service Provider", "comments": 23, "unreaded_comments": 21, "last_updated": "02-May-19 by Shpend" }, { "code": "23227", "name": "\"Beestate\" - LOGO and Cooperate Design", "comments": 3, "unreaded_comments": 1, "last_updated": "12-Apr-19 by Bushra" }, { "code": "23431", "name": "E-Mail notification", "comments": 3, "unreaded_comments": 1, "last_updated": "03-May-19 by Shpend" } ] } }, "success": true
    }
Responses
Status: 302 - Error
  • {
    • "success":boolean, "error":"string"
    }
  • {
    • "success": false, "error": "SERVER_ERROR"
    }

Case

GET

https://casecamp.com/api/case

Usage and Examples

curl -X GET https://casecamp.com/api/case

HTTParty.get('https://casecamp.com/api/case')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token:xxx data[case_code]:22868
    }
Responses
Status: 202 - Success
  • {
    • "data": { "project": "string", "members": [ { "id": number, "firstName": "string", "lastName": "" } ], "case": { "code": "string", "title": "string", "assignee": null, "assignee_id": null, "comments": [ { "id": number, "text": "string", "created_at": "string", "user_id": number, "comment_type": number, "user_name": "string", "attachments": [] } ] } }, "success": boolean
    }
  • {
    • "data": { "project": "EPA Project", "members": [ { "id": 1, "firstName": "Rajesh", "lastName": "" }, { "id": 2, "firstName": "Sreevalli", "lastName": "" }, { "id": 710, "firstName": "Shpend", "lastName": "" }, { "id": 1194, "firstName": "Thomas", "lastName": "" }, { "id": 1195, "firstName": "Roger", "lastName": "" }, { "id": 46, "firstName": "Ashley Designer", "lastName": "" }, { "id": 745, "firstName": "Jacob", "lastName": "" }, { "id": 1121, "firstName": "Bushra", "lastName": "" }, { "id": 280, "firstName": "yasmin", "lastName": "" }, { "id": 50, "firstName": "Aaron Designer", "lastName": "" }, { "id": 221, "firstName": "Rose", "lastName": "" }, { "id": 909, "firstName": "Victor", "lastName": "" }, { "id": 1024, "firstName": "Vaishali", "lastName": "" }, { "id": 1002, "firstName": "Vivin", "lastName": "" }, { "id": 731, "firstName": "Dhivya", "lastName": "" } ], "case": { "code": "22868", "title": "Basic Req Docs", "assignee": null, "assignee_id": null, "comments": [ { "id": 187710, "text": "Rajesh opened the todo on 15-Mar-2019", "created_at": "15-Mar-19 08:26 am", "user_id": 1, "comment_type": 2, "user_name": "Rajesh", "attachments": [] }, { "id": 187713, "text": "
      @ Sree

      Pls find attached the link for the Rating proposal.

      https://www.surveygizmo.com/s3/4894757/Rating-EPA 

      Thanks, Shpend 

      ", "created_at": "15-Mar-19 08:28 am", "user_id": 710, "comment_type": 1, "user_name": "Shpend", "attachments": [] }, { "id": 187769, "text": "
      @Sre:  this is the design Standard for EPA : https://invis.io/H6R01JWPZTV

      ", "created_at": "15-Mar-19 03:54 pm", "user_id": 1195, "comment_type": 1, "user_name": "Roger", "attachments": [] }, { "id": 192876, "text": "
      Hi Shpend,

      Re Comment # : 187713, the rating proposal will be implemented for both client as well as provider or it will only be for the client to rate the provider?

      Please let us know.

      Regards,
      Bushra
      ", "created_at": "20-Apr-19 01:49 pm", "user_id": 1121, "comment_type": 1, "user_name": "Bushra", "attachments": [] }, { "id": 192877, "text": "
      @Bushra

      RE: Comment # : 192876

      It should be only available for project owner. 

      After 6 months duration, project owner receive a invitation for the rating. 
      In case he will not complete it, he will receive after 1 week a friendly reminder to complete and after 2 weeks a second and last reminder.

      Thanks, Shpend

      ", "created_at": "20-Apr-19 01:59 pm", "user_id": 710, "comment_type": 1, "user_name": "Shpend", "attachments": [] }, { "id": 192888, "text": "
      Thanks for the prompt response Shpend.

      We will do as directed.

      Regards,
      Bushra
      ", "created_at": "20-Apr-19 02:46 pm", "user_id": 1121, "comment_type": 1, "user_name": "Bushra", "attachments": [] } ] } }, "success": true
    }
Responses
Status: 302 - Error
  • {
    • "success":boolean, "error":"string"
    }
  • {
    • "success": false, "error": "SERVER_ERROR"
    }

Ticket

GET

https://casecamp.com/api/ticket

Usage and Examples

curl -X GET "https://casecamp.com/api/ticket"

HTTParty.get('https://casecamp.com/api/ticket')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token:xxx data[ticket_id]:351
    }
Responses
Status: 202 - Success
  • {
    • "data": { "project": "string", "members": [ { "id": number, "firstName": "string", "lastName": "" } ], "ticket": { "id": number, "subject": "string", "reason": "string", "priority": "string", "status": "string", "assignee_id": null, "assignee_name": null, "comments": [ { "id": number, "text": "String", "created_at": "string", "user_id": number, "comment_type": null, "user_name": "string", "attachments": [ { "id": number, "file_name": "string", "type": "string", "url": "string", "comment": "string" } ]
    }
  • {
    • { "data": { "project": "EquipADS-B.com", "members": [ { "id": 1, "firstName": "Rajesh", "lastName": "" }, { "id": 2, "firstName": "Sreevalli", "lastName": "" }, { "id": 53, "firstName": "Aldis Designer", "lastName": "" }, { "id": 209, "firstName": "Stephen", "lastName": "" }, { "id": 217, "firstName": "Henna", "lastName": "" }, { "id": 204, "firstName": "Server Team", "lastName": "" }, { "id": 351, "firstName": "HR", "lastName": "" }, { "id": 173, "firstName": "Alan K", "lastName": "" }, { "id": 50, "firstName": "Aaron Designer", "lastName": "" }, { "id": 46, "firstName": "Ashley Designer", "lastName": "" }, { "id": 221, "firstName": "Rose", "lastName": "" }, { "id": 759, "firstName": "Mounika", "lastName": "" }, { "id": 766, "firstName": "Bosch", "lastName": "" }, { "id": 369, "firstName": "Neville", "lastName": "" }, { "id": 579, "firstName": "Venus", "lastName": "" }, { "id": 280, "firstName": "yasmin", "lastName": "" }, { "id": 820, "firstName": "Ramya", "lastName": "" }, { "id": 745, "firstName": "Jacob", "lastName": "" }, { "id": 904, "firstName": "Morris", "lastName": "" }, { "id": 886, "firstName": "Suvi", "lastName": "" } ], "ticket": { "id": 351, "subject": "Improve Aircraft Registration ", "reason": "New Problem", "priority": "P4", "status": "Closed", "assignee_id": null, "assignee_name": null, "comments": [ { "id": 6174, "text": "
      Hi Sreevalli,

      I was creating an email to explain the Aircraft Registration process when I realized that asking aircraft owners if they want proposals to include ADS-B IN was in the wrong place. As you know, we collect this information under the \"Schedule Service\" page which is not ideal. I would like your team to move the ADS-B IN text to the \"Your Aircraft\" page where it makes more sense and turn it into a question. It should be item number 12. The subsequent questions will need to be renumbered. 

      Also, be sure to keep all of the drop-down features we developed if the USER chooses YES. Plese have the team ensure that the ADS-B In information tracks to the Aircraft Profile page as we have already tested in its present location.

      Finally, we need to remove the year \"2016\" for when an owner can schedule service.

      I illustrated these changes in the attached document.

      Please let me know if you have questions. 

      Thanks,
      Stephen  
      ", "created_at": "16-Dec-16 04:29 am", "user_id": 209, "comment_type": null, "user_name": "Stephen", "attachments": [ { "id": 852, "file_name": "Aircraft_Registration_Changes_to_ADS-B_IN_and_2016.docx", "type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "url": "https://casecamp-production.s3-us-west-2.amazonaws.com/ticket_comment_photos/photos/000/000/852/original/Aircraft_Registration_Changes_to_ADS-B_IN_and_2016.docx", "comment": "file attached" } ] }
    }
Responses
Status: 302 - Error
  • {
    • "success" : boolen, "error" : string
    }
  • {
    • success": false, "error": "SERVER_ERROR"
    }

Search

GET

https://casecamp.com/api/search

Usage and Examples

curl -X GET "https://casecamp.com/api/search"

HTTParty.get('https://casecamp.com/api/search')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token:xxx data[project]:10078
    }
Responses
Status: 202 - Success
  • {
    • "data": { "project": [ { "code": "string", "title": "string", "cases": [ { "code": "string", "name": "string", "comments": number, "unreaded_comments": number, "last_updated": "string"
    }
  • {
    • { "data": { "project": [ { "code": "10331", "title": "John hughes", "cases": [ { "code": "23048", "name": "Company Data Updates - Notification preference change for admin", "comments": 22, "unreaded_comments": 12, "last_updated": "07-May-19 by Mario"
    }
Responses
Status: 302 - Error
  • {
    • "success":boolean, "error":"string",
    }
  • {
    • "success": false, "error": "SERVER_ERROR"
    }

Create Case Comment

POST

https://casecamp.com/api/create_case_comment

Usage and Examples

curl -X GET https://casecamp.com/api/create_case_comment

HTTParty.get('https://casecamp.com/api/update_case')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token:xxx data[text]:new comment data[case_code]:2
    }
Responses
Status: 202 - Success
  • {
    • "comments":[{ "id":number, "text":"string", "created_at":"string", "user_id":number, "comment_type":number, "user_name":"string", "attachments":[]}, { "id":number, "text":null, "created_at":"string", "user_id":number, "comment_type":number, "user_name":"string", "attachments":[]},{"id":4, "text":"string", "created_at":"string", "user_id":number, "comment_type":1, "user_name":"string", "attachments":[]}], "success":boolean
    }
  • {
    • "comments":[{ "id":2,"text":"Karthik opened the todo on 08-May-2019", "created_at":"08-May-19 11:22 am", "user_id":6, "comment_type":2, "user_name":"Cartheekraju", "attachments":[]}, {"id":3, "text":null, "created_at":"10-May-19 12:25 pm", "user_id":6, "comment_type":1, "user_name":"Cartheekraju", "attachments":[]},{"id":4, "text":"data[text]new comment","created_at":"10-May-19 12:26 pm", "user_id":6, "comment_type":1, "user_name":"Cartheekraju", "attachments":[]}], "success":true
    }
Responses
Status: 302 - Error
  • {
    • "success":boolean, "error":"string",
    }
  • {
    • "success": false, "error": "SERVER_ERROR"
    }

Update Case

POST

https://casecamp.com/api/upate_case

Usage and Examples

curl -X GET "https://casecamp.com/api/update_case"

HTTParty.get('https://casecamp.com/api/create_case_comment')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token:xxx data[case_code]:3 data[assigned_to]:6
    }
Responses
Status: 202 - Success
  • {
    • "success":boolean
    }
  • {
    • "success":true
    }
Responses
Status: 302 - Error
  • {
    • "success":boolean, "error":"string",
    }
  • {
    • "success": false, "error": "SERVER_ERROR"
    }

New Case

POST

https://casecamp.com/api/new_case

Usage and Examples

curl -X POST "https://casecamp.com/api/new_case"

HTTParty.post('https://casecamp.com/api/new_case')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token:xxx data[name]:karthi data[user_id]:6 code:1003 data[category_id]:1 status:open data[priority]:3 data[assignee_id]:6
    }
Responses
Status: 202 - Success
  • {
    • "id":number, "name":"string", "code":"string", "priority":"string", "success":boolean
    }
  • {
    • "id":7, "name":"karthi", "code":"7", "priority":"3", "success":true
    }
Responses
Status: 302 - Error
  • {
    • "success":boolean, "error":"string",
    }
  • {
    • "success": false, "error": "SERVER_ERROR"
    }

New Ticket

POST

https://casecamp.com/api/new_ticket

Usage and Examples

curl -X POST "https://casecamp.com/api/new_ticket"

HTTParty.post('https://casecamp.com/api/new_ticket')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token=xxx&data [owner]=Cartheekraju&data [subject]=comment added&data [description]=testing projects for logo design&data[reason]=need a design&data [priority]=3&data [status]=open&data [project_id]=9&company_id=6&data [manager_id]=1
    }
Responses
Status: 202 - Success
  • {
    • "id":number, "subject":"string", "success":boolean
    }
  • {
    • "id":22, "subject":"comment added", "success":true
    }
Responses
Status: 302 - Error
  • {
    • "success":boolean, "error":"string",
    }
  • {
    • "success": false, "error": "SERVER_ERROR"
    }

Update Ticket

POST

https://casecamp.com/api/update_ticket

Usage and Examples

curl -X POST "https://casecamp.com/api/update_ticket"

HTTParty.post('https://casecamp.com/api/update_ticket')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token=xxx&data [status]=closed&data [ticket_id]=18&user_id=6&data [text]=update the work please..!&data [project_id]=9&comment_type=1
    }
Responses
Status: 202 - Success
  • {
    • "success":boolean
    }
  • {
    • "success":true
    }
Responses
Status: 302 - Error
  • {
    • "success":boolean, "error":"string",
    }
  • {
    • "success": false, "error": "SERVER_ERROR"
    }

Create Ticket Comment

POST

https://casecamp.com/api/create_ticket_comment

Usage and Examples

curl -X POST https://casecamp.com/api/create_ticket_comment

HTTParty.post('https://casecamp.com/api/create_ticket_comment')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token=xxx&data [status]=closed&data [ticket_id]=18&user_id=6&data [text]=update the work please..!&data [project_id]=9&comment_type=1
    }
Responses
Status: 202 - Success
  • {
    • "id":number, "text":"string", "created_at":"string", "user_id":number, "comment_type":2, "user_name":"string", "attachments":[]}, {"id":15, "text":"string", "created_at":"string", "user_id":number, "comment_type":number, "user_name":"string", "attachments":[]}], "success":boolean
    }
  • {
    • "id":14, "text":"Cartheekraju changed status to closed on 14-May-2019", "created_at":"14-May-19 07:04 am", "user_id":6, "comment_type":2, "user_name":"Cartheekraju", "attachments":[]}, {"id":15, "text":"update the work please..!","created_at":"14-May-19 07:14 am", "user_id":6, "comment_type":1, "user_name":"Cartheekraju", "attachments":[]}], "success":true
    }
Responses
Status: 302 - Error
  • {
    • "success":boolean, "error":"string",
    }
  • {
    • "success": false, "error": "SERVER_ERROR"
    }

Checkin Status

GET

https://casecamp.com/api/checkin_status

Usage and Examples

curl -X GET https://casecamp.com/api/checkin_status

HTTParty.get('https://casecamp.com/api/checkin_status')

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • access_token=xxx
    }
Responses
Status: 202 - Success
  • {
    • "data": { "status":number }, "success":boolean
    }
  • {
    • "data": { "status":2 }, "success":true
    }
Responses
Status: 302 - Error
  • {
    • "success":boolean, "error":"string",
    }
  • {
    • "success": false, "error": "SERVER_ERROR"
    }