Delete Tip Action
delete
/apis/tips-v1/{utilityCode}/energy_guide/customers/{id}/tips/{tipId}/action
Remove the customer's currently recorded action for the tip. Idempotent, repeatable invocations do not lead to an error
Request
Path Parameters
-
id(required): integer
The unique identifier of the customer.
-
tipId(required): string
The unique identifier of the tip.
-
utilityCode(required): string
A 3- or 4-character representation of the client code, in all uppercase. Valid example "UTIL".
Response
Supported Media Types
- application/json
200 Response
Successful response
Root Schema : TipActionUpdateResponse
Type:
Show Source
object
-
response:
boolean
true, confirming that update was succesful
Example:
{
"response":true
}
400 Response
Invalid request
Root Schema : ErrorResponse
Type:
Show Source
object
-
details:
string
Details about the error.
-
errorMessage:
string
Short failure explanation.
-
httpStatus:
integer
Minimum Value:
100
Maximum Value:600
The HTTP status code for the error. -
serviceErrorCode:
string
An error code for the error.
401 Response
Authorization failure
Root Schema : ErrorResponse
Type:
Show Source
object
-
details:
string
Details about the error.
-
errorMessage:
string
Short failure explanation.
-
httpStatus:
integer
Minimum Value:
100
Maximum Value:600
The HTTP status code for the error. -
serviceErrorCode:
string
An error code for the error.
404 Response
Customer not found
Root Schema : ErrorResponse
Type:
Show Source
object
-
details:
string
Details about the error.
-
errorMessage:
string
Short failure explanation.
-
httpStatus:
integer
Minimum Value:
100
Maximum Value:600
The HTTP status code for the error. -
serviceErrorCode:
string
An error code for the error.
500 Response
Internal error
Root Schema : ErrorResponse
Type:
Show Source
object
-
details:
string
Details about the error.
-
errorMessage:
string
Short failure explanation.
-
httpStatus:
integer
Minimum Value:
100
Maximum Value:600
The HTTP status code for the error. -
serviceErrorCode:
string
An error code for the error.