Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.18 KB

AccessLogEntry.md

File metadata and controls

34 lines (27 loc) · 1.18 KB

TalonOne::AccessLogEntry

Properties

Name Type Description Notes
uuid String UUID reference of request.
status Integer HTTP status code of response.
method String HTTP method of request.
request_uri String target URI of request
time DateTime timestamp of request
request_payload String payload of request
response_payload String payload of response

Code Sample

require 'TalonOne'

instance = TalonOne::AccessLogEntry.new(uuid: 606e7d34-2d36-4d53-ac71-d4442c325985,
                                 status: 200,
                                 method: PUT,
                                 request_uri: /v2/customer_sessions/Session136667,
                                 time: 2023-01-16T16:00:00.700763Z,
                                 request_payload: {
    "customerSession": {
        "profileId": "customer123",
        "state": "closed",
...
},
                                 response_payload: {"coupons":[],"createdCoupons":[],...})