Create user
Changed onCreate a new user in a company linked to the Reseller company.
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Request body
Example request
{
"createdByCompanyId": "386626c0-53e2-0000-0000-4a720bb5d000",
"companyId": "4c00cad1-f741-0zf6-bb00-0000e73cec00",
"externalId": "01",
"email": "user@appdirect.com",
"firstName": "James",
"lastName": "Smith"
}Response
Success
Example response
{
"id": "6d375008-3b19-4cb8-bbb9-dcd9fce99432",
"companyId": "460fad0d-19e2-4eec-a756-59c15dc7a56a",
"email": "test4@yopmail.com",
"firstName": "user4",
"lastName": "user4",
"createdOn": 1461321550000,
"activated": false,
"invitationRequired": false,
"memberships": [
{
"company": {
"id": "460fad0d-19e2-4eec-a756-59c15dc7a56a",
"externalId": "external11",
"name": "Company3",
"createdOn": 10242018,
"phone": "50505054"
},
"enabled": true
}
]
}Changes
- breaking
the request's body type changed from no type to
object - breaking
the response's body type changed from no type to
objectfor status - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking