I have to get list of xml for Approval status for component and pages by applying ApprovalStatusData Filter....how can I do this?

i have tried this but it doesn't work:

 var publicationTarget = (PublicationTargetData)client.Read(id, new ReadOptions());
 var approvalStatus = (ApprovalStatusData)client.Read(
                                      publicationTarget.MinApprovalStatus.IdRef, new ReadOptions());

1 Answer 1


You can get all of the approval statuses by doing something like:

var approvalStatuses = client.GetSystemWideList(new ApprovalStatusesFilterData);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.