Partner Creation Controller

Partner Creation Controller

URI

/v1/partners

URI Parameters

  • n/a

Methods

POST

POST /v1/partners

Creates a new partner with the given properties.

Scope

partners_write

Request Body Parameters

  • username (string)

  • password (string)

  • name (string)

  • company (string)

  • street_address (string)

  • street_address2 (string)

  • city (string)

  • state (string)

  • zip (string)

  • country (string) - deprecated

  • country_iso (string)

  • email (string)

  • phone (string)

  • plan_id (int)

Response Attributes

  • n/a

Example JSON

Request:

POST /v1/partners HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Content-Type: application/json

 

{

  "username": “barracuda”,

  "password": "ps8wEzeT",

  "name": "John Smith",

  "company": "barracuda",

  "street_address": "334 Congress Street",

  "street_address2": "",

  "city": "Boston",

  "state": "MA",

  "zip": "02210",

  "country": "USA",

  "country_iso": "US",

  "email": "jsmith@barracuda.com",

  "phone": "617-948-5300",

  "plan_id": 10

 

}

 

Response:

HTTP/1.1 201 Created

Location: https://api.intronis.com/v1/partners/barracuda

Example XML

Request:

POST /v1/partners HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Content-Type: application/xml

 

<?xml version="1.0" encoding="UTF-8" ?>

<partner>

  <username>barracuda</username>

  <password>ps8wEzeT</password>

  <name>John Smith</name>

  <company>barracuda</company>

  <street_address>334 Congress Street</street_address>

  <street_address2/>

  <city>Boston</city>

  <state>MA</state>

  <zip>02210</zip>

  <country>USA</country>

  <country_iso>US</country_iso>

  <email>jsmith@barracuda.com</email>

  <phone>617-948-5300</phone>

  <plan_id>10</plan_id>

</partner>

 

Response:

HTTP/1.1 201 Created

Location: https://api.intronis.com/v1/partners/barracuda


We value your feedback.
If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
For general product inquiries or technical support, please contact the global Barracuda Support team.