GET api/Vacation/GetVacationById/{Id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Vacation| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CustomerId | integer |
None. |
|
| StartDate | string |
None. |
|
| EndDate | string |
None. |
|
| Comment | string |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedDate | string |
None. |
|
| UpdatedBy | string |
None. |
|
| UpdatedDate | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"Id": 1,
"CustomerId": 2,
"StartDate": "sample string 3",
"EndDate": "sample string 4",
"Comment": "sample string 5",
"CreatedBy": "sample string 6",
"CreatedDate": "sample string 7",
"UpdatedBy": "sample string 8",
"UpdatedDate": "sample string 9"
},
{
"$ref": "1"
}
]
application/octet-stream
Sample:
[{"$id":"1","Id":1,"CustomerId":2,"StartDate":"sample string 3","EndDate":"sample string 4","Comment":"sample string 5","CreatedBy":"sample string 6","CreatedDate":"sample string 7","UpdatedBy":"sample string 8","UpdatedDate":"sample string 9"},{"$ref":"1"}]