Country Create
API URL
{{url}}/user-service/organization/create-country
Method
POST
Description
Create country
Input
Field Name
Type
Mandatory
Example
name
String
Yes
Netherland
countryCode
Number
Yes
336
unitMeasurement
String
Yes
Metric System
countryCode
Number
Yes
123
firstName
String
Yes
John
lastName
String
Yes
Milan
gender
String
No
male
phoneNumber
String
Yes
73XXX270XXX
id(timezone)
Number
Yes
1
Sample Input:
{ "name": "Netherland", "countryCode": "336", "unitMeasurement": "Metric System", "users": [ { "username": "[email protected]", "countryCode":"123", "firstName": "John", "lastName": "Milan", "gender": "male", "phoneNumber": "73XXX2701X", "timezone": { "id": 1 } } ] }
Sample Output:
"message": "Organization created successfully. "
Last updated