Fortinet black logo

Get organization contact information

Get organization contact information

Method

URL

Description

Arguments

Outputs

GET

account/organization/contact/{Organization ID}/

Get contact information for a particular organization

Organization ID

Organization contact information record

Arguments (URL)

Parameter

Type

Description

Organization ID

int

Organization ID

Outputs

Parameter

Type

Description

name

string

Name of the customer

address_1

string

Physical address line 1

address_2

string

Physical address line 2

city

string

City

state

string

State or province

country

string

Country

zip

string

Zip or postal code

phone

string

Contact phone number

fax

string

Contact fax number

Example request

curl -k -X GET -H "Authorization: Token 9fb3fa217a23edbf50c8c358dab61beb07f6e8a191ecc597568f45e9455846e6" "https://localhost:9000/fpc/v1/api/account/organization/contact/1/"

Example response

{

"address1" : "",

"address2" : "",

"city" : "",

"country" : "",

"fax" : "",

"name" : "TeSt2",

"phone" : "",

"state" : "",

"zip" : ""

}

Get organization contact information

Method

URL

Description

Arguments

Outputs

GET

account/organization/contact/{Organization ID}/

Get contact information for a particular organization

Organization ID

Organization contact information record

Arguments (URL)

Parameter

Type

Description

Organization ID

int

Organization ID

Outputs

Parameter

Type

Description

name

string

Name of the customer

address_1

string

Physical address line 1

address_2

string

Physical address line 2

city

string

City

state

string

State or province

country

string

Country

zip

string

Zip or postal code

phone

string

Contact phone number

fax

string

Contact fax number

Example request

curl -k -X GET -H "Authorization: Token 9fb3fa217a23edbf50c8c358dab61beb07f6e8a191ecc597568f45e9455846e6" "https://localhost:9000/fpc/v1/api/account/organization/contact/1/"

Example response

{

"address1" : "",

"address2" : "",

"city" : "",

"country" : "",

"fax" : "",

"name" : "TeSt2",

"phone" : "",

"state" : "",

"zip" : ""

}