Account Create

API URL

{{url}}/user-service/organization/create-account

Method

POST

Description

Create Account

Input

Field Name

Type

Mandatory

Example

name

String

Yes

Healthcarezone

maxNoOfUsers

Number

No

100

parentOrganizationId

String

Yes

290

tenantId

String

Yes

290

countryId

String

Yes

3

clinicalWorkflow

Array

No

4,3,2,1

customizedWorkflow

Array

No

5,6

username

String

Yes

johnbxxx@xxx.xxx

firstName

String

Yes

Kennedy

lastName

String

Yes

John

gender

String

No

Male

id(countryId)

Number

Yes

3

countryCode

Number

Yes

1

phoneNumber

String

Yes

733XXX701X

id(timezone)

Number

Yes

3

Sample Input:

"name": "Healthcarezonenew", "maxNoOfUsers": 0, "parentOrganizationId": 290, "tenantId":290, "countryId": 3, "clinicalWorkflow": [ 4,3,2,1 ], "customizedWorkflow": [

], "users": [ { "username": "johnbxxx@sxxxe.xxx", "firstName": "Kennedy", "lastName": "John", "gender": "male", "country": { "id": 3 }, "countryCode": "1", "phoneNumber": "733XXX701X", "timezone": { "id": 2 } } ]

}

Sample Output:

"message": "Organization created successfully. "

Last updated

@2024 Medtronic LABS