Logging V2

Description

This document covers the basic API information for Logging of Mobile to the WSSG Mobile logs.

The current applications supported are:

macys iphone

macys android

back to top

HTTP Method and Request URL

GET

https://api.macys.com/v2/utility/mobilelog

back to top

Path and Query Parameters

HTTP Header Parameters

Parameter

Description

Mandatory

Sample Value

Accept

Specifies the output format. Can be application/json or application/xml.

Yes

application/json

application/xml

x-macys-webservice-client-id

Pass the apikey as a header value which is called x-macys-webservice-client-id. The api key is the 24 character alphanumeric string assigned to your application when you registered it. Pass the apikey as a header value which is called x-macys-webservice-client-id. The api key is the 24 character alphanumeric string assigned to your application when you registered it. Click here for a list of your API keys.

Yes

xmj9js4jkdpe1983fmwu98gh

back to top

Sample Requests and Responses

Sample Request

Request URL:

GET

https://api.macys.com/v2/utility/mobilelog

HTTP Headers:

x-macys-webservice-client-id: xmj9js4jkdpe1983fmwu98gh

Accept:application/json

Sample Response:        

{"logPostResponse":{"success":true}}

Sample Log Entry Posted by this Service

Wed Jun 15 16:30:31 EDT 2011|clientApp=bloomies_ishop_iphone|deviceId iphone abc123|macysUid=123456789|logLevel=ERROR|logMessage=error message error message error message error message error message error message error message

 

back to top

Error Codes

Call Specific Error Codes:

NONE

General Error Handling Documentation:

Click Here

Docs Navigation