Retrieves a user week approval with the specified key
Request Information
URI Parameters :
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult
user_week_approvalName | Description | Type | Additional information |
---|---|---|---|
id |
Primary Key |
globally unique identifier | |
user_id |
Foreign key of User |
globally unique identifier |
Required |
approved_date_start |
Starting date of the approved range |
date |
Required |
approved_date_end |
Ending date of the approved range |
date |
Required |
date_approval |
Date+Time when the approval occured |
date |
Required |
is_approved |
Indicate if the selection (range) is approved |
boolean |
Required |
approved_by_user_id |
Foreign key of user,who did the approval |
globally unique identifier |
Required |
modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Response Formats
application/json, text/json
Sample:
{ "id": "f985e870-a64d-4a71-8224-f4cb0d878bb0", "user_id": "c4b97f1e-2941-43d5-ba23-d52bbec9a7cd", "approved_date_start": "2023-11-02T11:56:12.1708962+00:00", "approved_date_end": "2023-11-02T11:56:12.1708962+00:00", "date_approval": "2023-11-02T11:56:12.1708962+00:00", "is_approved": true, "approved_by_user_id": "6199fb93-c8da-45fb-b21f-7db3093da8b2", "modified_dateutc": "2023-11-02T11:56:12.1708962+00:00" }