This repository has been archived by the owner on Aug 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b0ba22
commit 0270ab2
Showing
2 changed files
with
17 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,112 +41,67 @@ The sequence of tasks the organization administrator follows to create users inc | |
**Request Body** | ||
|
||
<pre> | ||
|
||
"request": { | ||
|
||
"email": "[email protected]", | ||
|
||
"firstName": "John", | ||
|
||
"lastName": "Pal", | ||
|
||
"password": "password123", | ||
|
||
"avatar": "john.png", | ||
|
||
"language": ["English"], | ||
|
||
"phone": "987654321", | ||
|
||
"phoneVerified": true, | ||
|
||
"subject": [ "string" ], | ||
|
||
"channel": "a1234567b890c", | ||
|
||
"userName": "john1" | ||
|
||
"education": | ||
|
||
[{ | ||
|
||
"degree": "BA", | ||
|
||
"yearOfPassing": 1934, | ||
|
||
"courseName": "Bachelor of Arts", | ||
|
||
"boardOrUniversity": "ABC University", | ||
|
||
"address": | ||
|
||
{ | ||
"addType": "Permanent", | ||
|
||
"addressLine1": "#34, ASDF Apartments", | ||
|
||
"addressLine2": "ERTY Lane", | ||
|
||
"city": "Bangalore", | ||
|
||
"state": "Karnataka", | ||
|
||
"zipCode": "560089" | ||
|
||
}, | ||
}], | ||
|
||
"jobProfile": | ||
|
||
[ { | ||
|
||
[ | ||
{ | ||
"jobName": "Manager", | ||
|
||
"role": "L3", | ||
|
||
"joiningDate": "2013-12-01", | ||
|
||
"orgName": "XYZ Corp", | ||
|
||
"address": | ||
{ | ||
|
||
"addType": "Organization", | ||
|
||
"addressLine1": "#34, QWETY Bldg", | ||
|
||
"addressLine2": "ERTY Lane", | ||
|
||
"city": "Bangalore", | ||
|
||
"state": "Karnataka", | ||
|
||
"zipCode": "560089" | ||
} | ||
}], | ||
|
||
|
||
} | ||
], | ||
</pre> | ||
|
||
|
||
**Response Body** | ||
|
||
<pre> | ||
|
||
"responseCode": "OK", | ||
|
||
"responseCode": "OK", | ||
"result": { | ||
|
||
"response": "SUCCESS", | ||
|
||
"accessToken": null, | ||
|
||
"userId": "4eec2f70-b821-42b9-9694-8a08587715af" | ||
} | ||
|
||
</pre> | ||
|
||
2.Save the created user ID | ||
|
||
3.The user is created under the organization | ||
|
||
### Concepts covered | ||
|
@@ -163,4 +118,4 @@ The sequence of tasks the organization administrator follows to create users inc | |
|
||
[Creating Organization](http://www.sunbird.org/developer-docs/how-to-guide/how_to_create_organization) | ||
|
||
[Map users to different business units within the organisation](http://www.sunbird.org/developer-docs/how-to-guide/hohow_to_create_org_add_user) | ||
[Map users to different business units within the organisation](http://www.sunbird.org/developer-docs/how-to-guide/hohow_to_create_org_add_user) |