| POST,PUT,OPTIONS | /UserRegistrationRequest |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AutoLogin | body | bool? | No | |
| Continue | body | string | No | |
| DisplayName | body | string | No | |
| body | string | No | ||
| FirstName | body | string | No | |
| LastName | body | string | No | |
| Password | body | string | No | |
| UserName | body | string | No | |
| Requestor | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Meta | form | Dictionary<string, string> | No | |
| ReferrerUrl | form | string | No | |
| ResponseStatus | form | ResponseStatus | No | |
| SessionId | form | string | No | |
| Id | form | long | No | |
| DisplayName | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/UserRegistrationRequest HTTP/1.1
Host: regapi.pumpalarm.com
Content-Type: application/json
Content-Length: length
{"AutoLogin":false,"Continue":"String","DisplayName":"String","Email":"String","FirstName":"String","LastName":"String","Password":"String","UserName":"String","Requestor":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Meta":{"String":"String"},"ReferrerUrl":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"SessionId":"String","Id":0,"DisplayName":"String"}