1. Single Job
Curl request
$ curl 'https://api.limosys.com/affjobs/TEST_SYS_COMP/A/1001/TEST_AFF_SYS_COMP/B/' -i -X GET \
-H 'Authorization: YOUR_API_KEY' \
-H 'Accept: application/json'
HTTP request
GET /affjobs/TEST_SYS_COMP/A/1001/TEST_AFF_SYS_COMP/B/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: application/json
Host: api.limosys.com
HTTP response
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, PUT, OPTIONS, DELETE
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: origin, content-type, accept, authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: Set-Cookie
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: DENY
Content-Length: 139
{"jobId":1001,"compId":"A","systemComp":"TEST_SYS_COMP","affCompId":"B","affSystemComp":"TEST_AFF_SYS_COMP","pickup":"TEST 550 SYLVAN AVE"}
HTTPie request
$ http GET 'https://api.limosys.com/affjobs/TEST_SYS_COMP/A/1001/TEST_AFF_SYS_COMP/B/' \
'Authorization:YOUR_API_KEY' \
'Accept:application/json'
Request body
Response body
{"jobId":1001,"compId":"A","systemComp":"TEST_SYS_COMP","affCompId":"B","affSystemComp":"TEST_AFF_SYS_COMP","pickup":"TEST 550 SYLVAN AVE"}
2. Job Does Not Exist
Curl request
$ curl 'https://api.limosys.com/affjobs/TEST_SYS_COMP/A/1001/TEST_AFF_SYS_COMP/B/' -i -X GET \
-H 'Authorization: YOUR_API_KEY' \
-H 'Accept: application/json'
HTTP request
GET /affjobs/TEST_SYS_COMP/A/1001/TEST_AFF_SYS_COMP/B/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: application/json
Host: api.limosys.com
HTTP response
HTTP/1.1 404 Not Found
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, PUT, OPTIONS, DELETE
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: origin, content-type, accept, authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: Set-Cookie
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: DENY
Content-Length: 2
{}
HTTPie request
$ http GET 'https://api.limosys.com/affjobs/TEST_SYS_COMP/A/1001/TEST_AFF_SYS_COMP/B/' \
'Authorization:YOUR_API_KEY' \
'Accept:application/json'
Request body
Response body
{}
3. Create New Job
Curl request
$ curl 'https://api.limosys.com/affjobs/TEST_SYS_COMP/A/1001/TEST_AFF_SYS_COMP/B/' -i -X PUT \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Accept: application/json' \
-d '{"jobId":1001,"compId":"A","systemComp":"TEST_SYS_COMP","affCompId":"B","affSystemComp":"TEST_AFF_SYS_COMP","pickup":"TEST 550 SYLVAN AVE"}'
HTTP request
PUT /affjobs/TEST_SYS_COMP/A/1001/TEST_AFF_SYS_COMP/B/ HTTP/1.1
Content-Type: application/json;charset=UTF-8
Authorization: YOUR_API_KEY
Accept: application/json
Content-Length: 139
Host: api.limosys.com
{"jobId":1001,"compId":"A","systemComp":"TEST_SYS_COMP","affCompId":"B","affSystemComp":"TEST_AFF_SYS_COMP","pickup":"TEST 550 SYLVAN AVE"}
HTTP response
HTTP/1.1 201 Created
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, PUT, OPTIONS, DELETE
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: origin, content-type, accept, authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: Set-Cookie
Location: https://api.limosys.com/affjobs/TEST_SYS_COMP/A/1001/TEST_AFF_SYS_COMP/B/TEST_SYS_COMP/A/1001/TEST_AFF_SYS_COMP/B
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: DENY
HTTPie request
$ echo '{"jobId":1001,"compId":"A","systemComp":"TEST_SYS_COMP","affCompId":"B","affSystemComp":"TEST_AFF_SYS_COMP","pickup":"TEST 550 SYLVAN AVE"}' | http PUT 'https://api.limosys.com/affjobs/TEST_SYS_COMP/A/1001/TEST_AFF_SYS_COMP/B/' \
'Content-Type:application/json;charset=UTF-8' \
'Authorization:YOUR_API_KEY' \
'Accept:application/json'
Request body
{"jobId":1001,"compId":"A","systemComp":"TEST_SYS_COMP","affCompId":"B","affSystemComp":"TEST_AFF_SYS_COMP","pickup":"TEST 550 SYLVAN AVE"}
Response body
4. Edit Job
Curl request
$ curl 'https://api.limosys.com/affjobs/TEST_SYS_COMP/A/1001/TEST_AFF_SYS_COMP/B/' -i -X PUT \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Accept: application/json' \
-d '{"jobId":1001,"compId":"A","systemComp":"TEST_SYS_COMP","affCompId":"B","affSystemComp":"TEST_AFF_SYS_COMP","pickup":"TEST 550 SYLVAN AVE"}'
HTTP request
PUT /affjobs/TEST_SYS_COMP/A/1001/TEST_AFF_SYS_COMP/B/ HTTP/1.1
Content-Type: application/json;charset=UTF-8
Authorization: YOUR_API_KEY
Accept: application/json
Content-Length: 139
Host: api.limosys.com
{"jobId":1001,"compId":"A","systemComp":"TEST_SYS_COMP","affCompId":"B","affSystemComp":"TEST_AFF_SYS_COMP","pickup":"TEST 550 SYLVAN AVE"}
HTTP response
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, PUT, OPTIONS, DELETE
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: origin, content-type, accept, authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: Set-Cookie
Location: https://api.limosys.com/affjobs/TEST_SYS_COMP/A/1001/TEST_AFF_SYS_COMP/B/TEST_SYS_COMP/A/1001/TEST_AFF_SYS_COMP/B
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: DENY
HTTPie request
$ echo '{"jobId":1001,"compId":"A","systemComp":"TEST_SYS_COMP","affCompId":"B","affSystemComp":"TEST_AFF_SYS_COMP","pickup":"TEST 550 SYLVAN AVE"}' | http PUT 'https://api.limosys.com/affjobs/TEST_SYS_COMP/A/1001/TEST_AFF_SYS_COMP/B/' \
'Content-Type:application/json;charset=UTF-8' \
'Authorization:YOUR_API_KEY' \
'Accept:application/json'
Request body
{"jobId":1001,"compId":"A","systemComp":"TEST_SYS_COMP","affCompId":"B","affSystemComp":"TEST_AFF_SYS_COMP","pickup":"TEST 550 SYLVAN AVE"}
Response body