POST api/EventGeoBlockingOption/CRUD
Add/Update/Delete EventGeoBlockingOption
Request Information
URI Parameters
None.
Body Parameters
String Array of EventGeoBlockingOption Names And Information(Mandatory)
Collection of EventGeoBlockingOptionInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| EventLiveStreamingGeoBlockingOptionId | integer |
None. |
|
| EventId | integer |
None. |
|
| CountryCode | string |
None. |
|
| Deleted | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"EventLiveStreamingGeoBlockingOptionId": 1,
"EventId": 2,
"CountryCode": "sample string 3",
"Deleted": 1
},
{
"EventLiveStreamingGeoBlockingOptionId": 1,
"EventId": 2,
"CountryCode": "sample string 3",
"Deleted": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfEventGeoBlockingOptionInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1">
<EventGeoBlockingOptionInfo>
<CountryCode>sample string 3</CountryCode>
<Deleted>1</Deleted>
<EventId>2</EventId>
<EventLiveStreamingGeoBlockingOptionId>1</EventLiveStreamingGeoBlockingOptionId>
</EventGeoBlockingOptionInfo>
<EventGeoBlockingOptionInfo>
<CountryCode>sample string 3</CountryCode>
<Deleted>1</Deleted>
<EventId>2</EventId>
<EventLiveStreamingGeoBlockingOptionId>1</EventLiveStreamingGeoBlockingOptionId>
</EventGeoBlockingOptionInfo>
</ArrayOfEventGeoBlockingOptionInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>