Retrieves a user week approval with the specified key

Request Information

URI Parameters :

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters :

None.

Response Information

Resource Description :

IHttpActionResult

user_week_approval
NameDescriptionTypeAdditional 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": "d88c1d48-043b-499d-8c7d-fd3afccbba9e",
  "user_id": "682634d2-79f5-4a00-b2f9-23deb19fdc2b",
  "approved_date_start": "2024-09-29T01:20:16.4509225+00:00",
  "approved_date_end": "2024-09-29T01:20:16.4509225+00:00",
  "date_approval": "2024-09-29T01:20:16.4509225+00:00",
  "is_approved": true,
  "approved_by_user_id": "c68bce24-44d9-4a58-beac-e1d50390d3f0",
  "modified_dateutc": "2024-09-29T01:20:16.4509225+00:00"
}