API ReferenceUsers
Enroll New User
Run in PostmanValidates and enrolls a new user in the system.
Query Parameters
api-versionstring
The API version, in the format 'major.minor'.
emailstring
firstNamestring
lastNamestring
imageUrl?string
country?string
city?string
postalCode?string
Response Body
application/json
application/problem+json
application/problem+json
curl -X POST "https://loading/users/enroll?api-version=1.0" \ -H "Content-Type: application/json" \ -d '{ "email": "string", "firstName": "string", "lastName": "string" }'{
"user": {
"userID": "string",
"email": "string",
"lifetimePoints": 0.1,
"availablePoints": 0.1,
"numOfTransactions": 0,
"totalCarbonScore": 0.1,
"totalGreenProducts": 0,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}