POST api/EventAttendanceList
Request Information
URI Parameters
None.
Body Parameters
EventModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EventId | integer |
None. |
|
| UserId | integer |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| Picture | string |
None. |
|
| URL | string |
None. |
|
| DateShow | string |
None. |
|
| UserName | string |
None. |
|
| IsAttend | integer |
None. |
|
| EventDateShow | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EventId": 1,
"UserId": 2,
"Title": "sample string 3",
"Description": "sample string 4",
"Picture": "sample string 5",
"URL": "sample string 6",
"DateShow": "sample string 7",
"UserName": "sample string 8",
"IsAttend": 9,
"EventDateShow": "sample string 10"
}
application/xml, text/xml
Sample:
<EventModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DecstopAPI.Models"> <DateShow>sample string 7</DateShow> <Description>sample string 4</Description> <EventDateShow>sample string 10</EventDateShow> <EventId>1</EventId> <IsAttend>9</IsAttend> <Picture>sample string 5</Picture> <Title>sample string 3</Title> <URL>sample string 6</URL> <UserId>2</UserId> <UserName>sample string 8</UserName> </EventModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of EventModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EventId | integer |
None. |
|
| UserId | integer |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| Picture | string |
None. |
|
| URL | string |
None. |
|
| DateShow | string |
None. |
|
| UserName | string |
None. |
|
| IsAttend | integer |
None. |
|
| EventDateShow | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"EventId": 1,
"UserId": 2,
"Title": "sample string 3",
"Description": "sample string 4",
"Picture": "sample string 5",
"URL": "sample string 6",
"DateShow": "sample string 7",
"UserName": "sample string 8",
"IsAttend": 9,
"EventDateShow": "sample string 10"
},
{
"EventId": 1,
"UserId": 2,
"Title": "sample string 3",
"Description": "sample string 4",
"Picture": "sample string 5",
"URL": "sample string 6",
"DateShow": "sample string 7",
"UserName": "sample string 8",
"IsAttend": 9,
"EventDateShow": "sample string 10"
}
]
application/xml, text/xml
Sample:
<ArrayOfEventModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DecstopAPI.Models">
<EventModel>
<DateShow>sample string 7</DateShow>
<Description>sample string 4</Description>
<EventDateShow>sample string 10</EventDateShow>
<EventId>1</EventId>
<IsAttend>9</IsAttend>
<Picture>sample string 5</Picture>
<Title>sample string 3</Title>
<URL>sample string 6</URL>
<UserId>2</UserId>
<UserName>sample string 8</UserName>
</EventModel>
<EventModel>
<DateShow>sample string 7</DateShow>
<Description>sample string 4</Description>
<EventDateShow>sample string 10</EventDateShow>
<EventId>1</EventId>
<IsAttend>9</IsAttend>
<Picture>sample string 5</Picture>
<Title>sample string 3</Title>
<URL>sample string 6</URL>
<UserId>2</UserId>
<UserName>sample string 8</UserName>
</EventModel>
</ArrayOfEventModel>