Create developer accounts
Description: Use this request to notify AppDirect that a new developer account was created on a developer system. It is only possible to create one developer account per request.
Endpoint URL: api/sync/v1/tasks
Request operation: CREATE
Mandatory parameters in the request:
- type - the request type
- operation - the operation (for example CREATE)
- developerIdentifier - the identifier for the developer
- developerAccountIdentifier - the UUID identifies the developer account. You can also send optional custom attributes in the request.
JSON example
{
"type": "TENANT",
"operation": "CREATE",
"tenants": [
{
"developerIdentifier": "f951b18c-5ba8-4f5e-9aae-dssdasdSAD33",
"developerAccountIdentifier": "ed147fcc-f53b-4862-8673-e0ff4ce3b4ae",
"name": "Barraff Industries, Inc. ",
"contactFirstName": "Samatha",
"contactLastName": "Smendland",
"addressLine": "17451 Bault St.",
"addressLine2": "suite 101",
"addressLine3": "",
"city": "Saint Peter",
"state": "MN",
"postalCode": "56082",
"country": "US",
"phoneNumber": "507-484-2442",
"email": "samantha@barraff.com ",
"primaryDomain": "barraff.yahoo.com",
"additionalDomains": [
"barraff.yahoo.com",
"barraff.mail.yahoo.com",
"barraff.com"
],
"customAttributes": {
"iso3CountryCode": "USA",
"userName": "samanthabarraff",
"communicationCulture": "en-US",
"communicationLanguage": "en",
"initialVanityDomain": "barraff.com"
}
}
]
}
Response
If there is no error, an empty HTTP response with an HTTP status code 202 (Accepted) is sent. Otherwise an error message with the corresponding HTTP status code is sent.
Was this page helpful?
Tell us more…
Help us improve our content. Responses are anonymous.
Thanks
We appreciate your feedback!