| All Verbs | /userinfo |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserName | query | string | No | |
| SecretId | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| UserName | form | string | No | |
| form | string | No | ||
| Created | form | DateTime | No | |
| Signature | form | string | No | |
| AvatarUrl | form | string | No | |
| UserActivity | form | UserActivity | No | |
| UserPartners | form | List<UserPartners> | No | |
| PartnerId | form | int | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| UserName | form | string | No | |
| Created | form | DateTime | No | |
| Modified | form | DateTime | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| UserId | form | int | No | |
| form | string | No | ||
| PartnerId | form | int | No | |
| IsSelected | form | bool | No | |
| PartnerName | 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 /userinfo HTTP/1.1
Host: api.portfoliolink.co.za
Accept: application/json
Content-Type: application/json
Content-Length: length
{"userName":"String","secretId":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"id":0,"userName":"String","email":"String","created":"0001-01-01T00:00:00.0000000","signature":"String","avatarUrl":"String","userActivity":{"id":0,"userName":"String","created":"0001-01-01T00:00:00.0000000","modified":"0001-01-01T00:00:00.0000000"},"userPartners":[{"id":0,"userId":0,"email":"String","partnerId":0,"isSelected":false,"partnerName":"String"}],"partnerId":0,"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}