Read a batch of services by internal ID, or unique property values
POST
/crm/v3/objects/0-162/batch/read https://api.hubapi.com
Retrieve records by record ID or include the idProperty parameter to retrieve records by a custom unique value property.
Parameters
query Query Parameters
| Name | Type |
|---|---|
archived Whether to return only results that have been archived. | boolean |
Request Body
application/json
required
interface BatchReadInputSimplePublicObjectId {
idProperty?: string;
inputs:SimplePublicObjectId [];
properties: string[];
propertiesWithHistory: string[];
}
idProperty?: string;
inputs:
properties: string[];
propertiesWithHistory: string[];
}
Responses
200 application/json
successful operation
interface BatchResponseSimplePublicObject29 {
completedAt: string;
errors?:StandardError [];
links?: { };
numErrors?: number;
requestedAt?: string;
results:SimplePublicObject31 [];
startedAt: string;
status: "CANCELED" | "COMPLETE" | "PENDING" | "PROCESSING";
}
completedAt: string;
errors?:
links?: { };
numErrors?: number;
requestedAt?: string;
results:
startedAt: string;
status: "CANCELED" | "COMPLETE" | "PENDING" | "PROCESSING";
}
default */*
An error occurred.
interface Error {
category: string;
context?: { };
correlationId: string;
errors?:ErrorDetail [];
links?: { };
message: string;
subCategory?: string;
}
category: string;
context?: { };
correlationId: string;
errors?:
links?: { };
message: string;
subCategory?: string;
}