GET  api/account/status Back to API Home

Returns the status of account as a Json response for the authenticating user. The returned Json contains status & lastLoginDt. A status can have a value either "Active" or "Suspended"

Resource URL

https://www.efilenysclaims.com/NYSIF/api/account/status

Example Request

GET https://www.efilenysclaims.com/NYSIF/api/account/status

Example Response
		{
			"status": "Active",
		   	"lastLoginDt": "02/24/2014 12:26 PM"
		}
		
Error Response

For invalid requests (Eg:- a request with invalid request format will be refused by server), a string error message will be sent in response and with response code 4xx or 5xx. For data validation failures (Eg:- a valid request format but with insufficient data), a JSON string will be sent in response with key "errors". Multiple error messages are separated with comma. Each error message contains a description of failure.

		{
		    "errors": [
		        "No Bills Found"
		    ]
		}