nerdexam
CiscoCisco

300-435 · Question #41

300-435 Question #41: Real Exam Question with Answer & Explanation

The correct answer is D: POST https://api.meraki.com/api/v0/organizations/<org_id>/networks. To create a new Meraki network called 'Test' within a specific organization using APIs, an HTTP POST request must be sent to the /organizations/<org_id>/networks endpoint with the network details in the request body.

Controller-Based Network Automation

Question

Which URI with the request body of Request body: {"name":"Test","organizationId":"<org_id>","type":"appliance"} creates a new Meraki network called "Test", when using APIs?

Options

  • APUT https://api.meraki.com/api/v0/organizations/<org_id>/networks
  • BPOST https://api.meraki.com/api/v0/networks
  • CPOST https://api.meraki.com/api/v0/organizations/<org_id>/networks/<net_id>
  • DPOST https://api.meraki.com/api/v0/organizations/<org_id>/networks

Explanation

To create a new Meraki network called 'Test' within a specific organization using APIs, an HTTP POST request must be sent to the /organizations/<org_id>/networks endpoint with the network details in the request body.

Common mistakes.

  • A. The PUT method is generally used to update an existing resource or replace it entirely, not to create a new resource within a collection.
  • B. This URI is missing the organizationId path parameter, which is essential to specify under which organization the new network should be created.
  • C. This URI includes <net_id>, which implies an operation on an existing specific network, typically for updates or retrieval, not for creating a new network within an organization's collection.

Concept tested. Meraki API network creation via POST

Reference. https://developer.cisco.com/meraki/api-v1/#!create-organization-network

Topics

#Meraki API#REST API#Network creation#HTTP POST method

Community Discussion

No community discussion yet for this question.

Full 300-435 PracticeBrowse All 300-435 Questions