curl --request POST \
--url https://api.harmonyforstaffing.com/api/candidates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"phone": "+1-555-555-5555",
"address": {
"address1": "123 Main St",
"city": "San Francisco",
"state": "CA",
"zip": "94105",
"countryCode": "US"
},
"notes": "Excellent communication skills",
"profession": "Software Engineer",
"specialty": "Frontend Development",
"statusId": 1
}'
{
"id": 456,
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"phone": "+1-555-555-5555",
"address": {
"address1": "123 Main St",
"city": "San Francisco",
"state": "CA",
"zip": "94105",
"countryCode": "US"
},
"notes": "Excellent communication skills",
"profession": "Software Engineer",
"specialty": "Frontend Development",
"statusId": 1,
"status": {
"id": 1,
"name": "New Lead",
"type": "CANDIDATE",
"description": "New candidate in the system"
},
"dateAdded": 1679253000
}
Create a new candidate
curl --request POST \
--url https://api.harmonyforstaffing.com/api/candidates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"phone": "+1-555-555-5555",
"address": {
"address1": "123 Main St",
"city": "San Francisco",
"state": "CA",
"zip": "94105",
"countryCode": "US"
},
"notes": "Excellent communication skills",
"profession": "Software Engineer",
"specialty": "Frontend Development",
"statusId": 1
}'
{
"id": 456,
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"phone": "+1-555-555-5555",
"address": {
"address1": "123 Main St",
"city": "San Francisco",
"state": "CA",
"zip": "94105",
"countryCode": "US"
},
"notes": "Excellent communication skills",
"profession": "Software Engineer",
"specialty": "Frontend Development",
"statusId": 1,
"status": {
"id": 1,
"name": "New Lead",
"type": "CANDIDATE",
"description": "New candidate in the system"
},
"dateAdded": 1679253000
}
curl --request POST \
--url https://api.harmonyforstaffing.com/api/candidates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"phone": "+1-555-555-5555",
"address": {
"address1": "123 Main St",
"city": "San Francisco",
"state": "CA",
"zip": "94105",
"countryCode": "US"
},
"notes": "Excellent communication skills",
"profession": "Software Engineer",
"specialty": "Frontend Development",
"statusId": 1
}'
{
"id": 456,
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"phone": "+1-555-555-5555",
"address": {
"address1": "123 Main St",
"city": "San Francisco",
"state": "CA",
"zip": "94105",
"countryCode": "US"
},
"notes": "Excellent communication skills",
"profession": "Software Engineer",
"specialty": "Frontend Development",
"statusId": 1,
"status": {
"id": 1,
"name": "New Lead",
"type": "CANDIDATE",
"description": "New candidate in the system"
},
"dateAdded": 1679253000
}