CreateIssue
From ePrize Developers Wiki
(Difference between revisions)
(New page: ==Summary== Submit an issue from the current non-logged in or logged in user. '''Resource''' POST api/v1/createIssue '''Parameters''' memberId email firstName lastName messageCode issu...) |
m (→Summary) |
||
Line 9: | Line 9: | ||
'''Parameters''' | '''Parameters''' | ||
- | memberId | + | * memberId |
- | email | + | * email |
- | firstName | + | * firstName |
- | lastName | + | * lastName |
- | messageCode | + | * messageCode |
- | issueDescription | + | * issueDescription |
- | browser | + | * browser |
- | + | Example Request Body | |
- | + | ||
- | { | + | { |
- | + | "memberId": 278000000118, | |
- | + | "email": "jon.doe@helloworld.com", | |
- | + | "firstName": "Jon", | |
- | + | "lastName": "Doe", | |
- | + | "messageCode": “REWARD_QUESTION", | |
- | + | "issueDescription": "I couldn't redeem item 1234", | |
- | + | "browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"", | |
- | } | + | } |
Example Response: Success | Example Response: Success | ||
- | + | ||
- | "success": true | + | { |
- | } | + | "success": true |
+ | } |
Current revision
Summary
Submit an issue from the current non-logged in or logged in user.
Resource
POST api/v1/createIssue
Parameters
- memberId
- firstName
- lastName
- messageCode
- issueDescription
- browser
Example Request Body
{ "memberId": 278000000118, "email": "jon.doe@helloworld.com", "firstName": "Jon", "lastName": "Doe", "messageCode": “REWARD_QUESTION", "issueDescription": "I couldn't redeem item 1234", "browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"", }
Example Response: Success
{ "success": true }