GET api/Supplements/GetAllSupplements?ProfileId={ProfileId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ProfileId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Supplement
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Reason

string

None.

CreateDate

date

None.

LastUpdateDate

date

None.

StartDate

date

None.

EndDate

date

None.

Dose

decimal number

None.

DoseUnitId

integer

None.

SupplementTypeId

integer

None.

ProfileId

integer

None.

SupplementType

SupplementType

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Reason": "sample string 3",
    "CreateDate": "2026-09-08T21:11:55.0990202+00:00",
    "LastUpdateDate": "2026-09-08T21:11:55.0990202+00:00",
    "StartDate": "2026-09-08T21:11:55.0990202+00:00",
    "EndDate": "2026-09-08T21:11:55.0990202+00:00",
    "Dose": 1.0,
    "DoseUnitId": 1,
    "SupplementTypeId": 1,
    "ProfileId": 1,
    "SupplementType": {
      "Id": 1,
      "Name": "sample string 2",
      "Supplements": []
    }
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Reason": "sample string 3",
    "CreateDate": "2026-09-08T21:11:55.0990202+00:00",
    "LastUpdateDate": "2026-09-08T21:11:55.0990202+00:00",
    "StartDate": "2026-09-08T21:11:55.0990202+00:00",
    "EndDate": "2026-09-08T21:11:55.0990202+00:00",
    "Dose": 1.0,
    "DoseUnitId": 1,
    "SupplementTypeId": 1,
    "ProfileId": 1,
    "SupplementType": {
      "Id": 1,
      "Name": "sample string 2",
      "Supplements": []
    }
  }
]