GET api/Post/closeopenevent?EventID={EventID}&VendorID={VendorID}&listingid={listingid}&iseventactive={iseventactive}

iseventactive=1 Open event iseventactive=0 close event

Request Information

Parameters

NameDescriptionAdditional information
EventID

Define this parameter in the request URI.

VendorID

Define this parameter in the request URI.

listingid

Define this parameter in the request URI.

iseventactive

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "response": "sample string 1",
  "message": "sample string 2",
  "addedId": "sample string 3"
}

text/xml

Sample:
<CommonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapishopinbelgium.Models">
  <addedId>sample string 3</addedId>
  <message>sample string 2</message>
  <response>sample string 1</response>
</CommonResponse>