Operating Unit Create

API URL

{{url}}/user-service/organization/create-operating-unit

Method

POST

Description

Create Operating unit

Input

Field Name

Type

Mandatory

Example

name

String

Yes

Hablot Manos

account

Number

No

15

parentOrganizationId

Number

Yes

156

tenantId

Number

Yes

156

countryId

Number

Yes

4

username

String

Yes

johnbxxx@sxxxe.xxx

firstName

String

Yes

Kennedy

lastName

String

Yes

John

gender

String

No

Male

id(countryId)

Number

Yes

4

countryCode

Number

Yes

232

phoneNumber

String

Yes

733XXX701X

id(timezone)

Number

Yes

3

Sample Input:

{

"name": "Hablot Manos",

“account”: 15, "parentOrganizationId": 156, "tenantId":156, "countryId": 4, "users": [ { "username": "davidbxxxn@sxxxe.xxx", "firstName": "Kennedy", "lastName": "John", "gender": "male", "country": { "id": 4 }, "countryCode": "1", "phoneNumber": "756XXX709X", "timezone": { "id": 2 } } ]

}

Sample Output:

"message": "Organization created successfully. "

Last updated

@2024 Medtronic LABS