Discussions

Ask a Question
Back to All

Incorrect JSON format for POST /employee

In api v2 I'm getting a
(status=9, error="Incorrect JSON format", token=b6062f75c56094ea7ee4513e6ecbcd0080e9f7d7)

from a POST /employees
with the following body:

{
"url": "https://www.humanity.com/api/v2/employees?access_token=******",
"json": true,
"method": "POST",
"body": {
"password": "**",
"fname": "Test",
"lname": "Tester",
"email": "[email protected]",
"status": "1",
"gender": "F",
"cell_phone": "555-555-5555",
"home_phone": "555-555-5555",
"notes": "This is a note",
"city": "Albuquerque",
"state": "NM",
"eid": "test",
"child_company_id": "322957",
"location": 702802,
"positions": [
1709105
],
"group": "5",
"custom": []
}
}

What is misconfigured about this body?