/asset-management/v1/site-partners
This endpoint retrieves a list of all site partners
limit
string
The maximum number of site partners to return (default 20, maximum 100)
startingAfter
string
The ID of the last site partner in the previous page of results. Results will start after this site partner
A list of site partners.
{
"data": {
"hasMore": true,
"items": [
{
"id": "string",
"type": "siteHost",
"network": {
"id": "string"
},
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z",
"siteHost": {
"name": "string",
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"phone": "string",
"email": "string"
}
},
"utility": {
"name": "string",
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"phone": "string",
"email": "string"
}
},
"reportingAgency": {
"name": "string",
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"phone": "string",
"email": "string"
}
}
}
]
}
}
/asset-management/v1/site-partners
This endpoint creates a site partner.
This action is not enabled by default. You must request additional permissions to perform this action.
type
string
required
The type of site partner (siteHost or utility or reportingAgency)
network
string
The network associated with the site partner
siteHost
object (CreateSiteHostParams)
Details specific to the site host type of site partner
name
string
required
physicalAddress
object (PhysicalAddress)
required
Physical address details
contactDetails
object
required
utility
object (CreateUtilityParams)
Details specific to the utility type of site partner
name
string
required
physicalAddress
object (PhysicalAddress)
required
Physical address details
contactDetails
object
required
reportingAgency
object (CreateReportingAgencyParams)
Details specific to the reporting agency type of site partner
name
string
required
physicalAddress
object (PhysicalAddress)
required
Physical address details
contactDetails
object
required
{
"type": "siteHost",
"network": "string",
"siteHost": {
"name": "string",
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"phone": "string",
"email": "string"
}
},
"utility": {
"name": "string",
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"phone": "string",
"email": "string"
}
},
"reportingAgency": {
"name": "string",
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"phone": "string",
"email": "string"
}
}
}
The site partner was successfully created.
{
"data": {
"id": "string",
"type": "siteHost",
"network": {
"id": "string"
},
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z",
"siteHost": {
"name": "string",
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"phone": "string",
"email": "string"
}
},
"utility": {
"name": "string",
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"phone": "string",
"email": "string"
}
},
"reportingAgency": {
"name": "string",
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"phone": "string",
"email": "string"
}
}
}
}
/asset-management/v1/site-partners/{sitePartnerId}
This endpoint updates an existing site partner by its ID.
This action is not enabled by default. You must request additional permissions to perform this action.
siteHost
object (UpdateSiteHostParams)
Details specific to the site host type of site partner to be updated
name
string
physicalAddress
object (PhysicalAddress)
Physical address details
contactDetails
object
utility
object (UpdateUtilityParams)
Details specific to the utility type of site partner to be updated
name
string
physicalAddress
object (PhysicalAddress)
Physical address details
contactDetails
object
reportingAgency
object (UpdateReportingAgencyParams)
Details specific to the reporting agency type of site partner to be updated
name
string
physicalAddress
object (PhysicalAddress)
Physical address details
contactDetails
object
{
"siteHost": {
"name": "string",
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"phone": "string",
"email": "string"
}
},
"utility": {
"name": "string",
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"phone": "string",
"email": "string"
}
},
"reportingAgency": {
"name": "string",
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"phone": "string",
"email": "string"
}
}
}
Site partner successfully updated
{
"data": {
"id": "string",
"type": "siteHost",
"network": {
"id": "string"
},
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z",
"siteHost": {
"name": "string",
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"phone": "string",
"email": "string"
}
},
"utility": {
"name": "string",
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"phone": "string",
"email": "string"
}
},
"reportingAgency": {
"name": "string",
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"phone": "string",
"email": "string"
}
}
}
}
Was this page helpful?