Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DXE-3147 ID attribute is missing in Enrollment struct of CPS package #195

Open
adrianeib opened this issue Sep 22, 2023 · 1 comment
Open

Comments

@adrianeib
Copy link

Hello all,

I noticed that enrollment ID isn't parsed from the API response.
However ID is needed in other API calls for example get-deployment-production.

There is a method ListEnrollments. It returns ListEnrollmentsResponse. ListEnrollmentsResponse contains list of Enrollments. However ID isn't parsed but it is returned from API call get-enrollments.

@Slonimskaia
Copy link
Contributor

Slonimskaia commented Sep 27, 2023

Hi @adrianeib,

Thank you for reporting this issue. We are going to address that. For now, you can parse Enrollment.Location field to get enrollment ID. Enrollment.Location looks like "/cps/v2/enrollments/12345", where 12345 is an enrollment ID

Best regards,
Tatiana Slonimskaia

@Slonimskaia Slonimskaia changed the title ID attribute is missing in Enrollment struct of CPS package DXE-3147 ID attribute is missing in Enrollment struct of CPS package Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants