GraphQL Query to Create new Policy Mappings in XMC/XIQ-SE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎05-17-2024 08:19 AM
Hello, I have another request if possible. I'd like to create a new Policy Mapping using graphQL (As I will need to create 70 that are each location specific for each Policy Profile that references it).
I've searched my documentation but can't get the query put together properly, as I will admit my GraphQL skills are definitely lacking. This is what I got but it doesn't return properly (bonus points if you can explain the workflow behind putting some of these together properly, as the documentation appears to be quite vague)
mutation{
accessControl
{
PolicyMappingEntryInput (input: {
name: "802.1x-PEAP-Policy"
locationName: "PS100-MGMT"
})
{
message
status
}
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
16 hours ago
Hey,
I think, this is what you are looking for:
mutation {
accessControl {
createPolicyMappingEntry( input: {
custom1: "<CUSTOM>"
name: "<NAME>"
policyName: "<POLICYNAME>"
vlanEgress: "U"
vlanId: VLANID
vlanName: "<VLANNAME>"
}) {
message
status
}
}
}
Replace the parameters with the needed ones. Here ist the complete Selection. Good Luck 🙂
