/asset-management/v1/site-partnersThis endpoint retrieves a list of all site partners
limitstringThe maximum number of site partners to return (default 20, maximum 100)
startingAfterstringThe 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-partnersThis endpoint creates a site partner.
This action is not enabled by default. You must request additional permissions to perform this action.
typestringrequired
The type of site partner (siteHost or utility or reportingAgency)
networkstringThe network associated with the site partner
siteHostobject (CreateSiteHostParams)Details specific to the site host type of site partner
namestringrequired
physicalAddressobject (PhysicalAddress)required
Physical address details
contactDetailsobjectrequired
utilityobject (CreateUtilityParams)Details specific to the utility type of site partner
namestringrequired
physicalAddressobject (PhysicalAddress)required
Physical address details
contactDetailsobjectrequired
reportingAgencyobject (CreateReportingAgencyParams)Details specific to the reporting agency type of site partner
namestringrequired
physicalAddressobject (PhysicalAddress)required
Physical address details
contactDetailsobjectrequired
{
"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.
siteHostobject (UpdateSiteHostParams)Details specific to the site host type of site partner to be updated
namestringphysicalAddressobject (PhysicalAddress)Physical address details
contactDetailsobjectutilityobject (UpdateUtilityParams)Details specific to the utility type of site partner to be updated
namestringphysicalAddressobject (PhysicalAddress)Physical address details
contactDetailsobjectreportingAgencyobject (UpdateReportingAgencyParams)Details specific to the reporting agency type of site partner to be updated
namestringphysicalAddressobject (PhysicalAddress)Physical address details
contactDetailsobject{
"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?