{
"openapi" : "3.0.3",
"info" : {
"contact" : {
"email" : "contact@dsb.gov.au",
"name" : "Data Standards Body",
"url" : "https://dsb.gov.au/"
},
"description" : "Specifications for resource endpoints applicable to secondary data holders in the Energy sector.",
"title" : "CDR Energy Secondary Data Holder API",
"version" : "1.36.0"
},
"servers" : [ {
"description" : "TLS",
"url" : "https://tls.sdh.example.com/cds-au/v1"
} ],
"tags" : [ {
"description" : "Electricity Service Point (SR) endpoints",
"name" : "Electricity Service Points (SR)",
"x-shortName" : "Service Points"
}, {
"description" : "Electricity Usage (SR) endpoints",
"name" : "Electricity Usage (SR)",
"x-shortName" : "Usage"
}, {
"description" : "Distributed Energy Resource (SR) endpoints",
"name" : "Distributed Energy Resources (SR)",
"x-shortName" : "Distributed Energy Resources"
} ],
"paths" : {
"/secondary/energy/electricity/servicepoints" : {
"post" : {
"description" : "Obtain a list of service points owned by the customer that has authorised the current session.\n\nOther Versions: [v1](includes/obsolete/get-service-points-SR-v1.html).",
"operationId" : "listElectricityServicePointsSR",
"parameters" : [ {
"description" : "Page of results to request (standard pagination).",
"explode" : true,
"in" : "query",
"name" : "page",
"required" : false,
"schema" : {
"type" : "integer"
},
"style" : "form",
"x-cds-type" : "PositiveInteger"
}, {
"description" : "Page size to request. Default is 25 (standard pagination).",
"explode" : true,
"in" : "query",
"name" : "page-size",
"required" : false,
"schema" : {
"type" : "integer"
},
"style" : "form",
"x-cds-type" : "PositiveInteger"
}, {
"description" : "Version of the API endpoint requested by the client. Must be set to a positive integer. The endpoint should respond with the highest supported version between [_x-min-v_](#request-headers) and [_x-v_](#request-headers). If the value of [_x-min-v_](#request-headers) is equal to or higher than the value of [_x-v_](#request-headers) then the [_x-min-v_](#request-headers) header should be treated as absent. If all versions requested are not supported then the endpoint **MUST** respond with a `406 Not Acceptable`. See [HTTP Headers](#request-headers).",
"explode" : false,
"in" : "header",
"name" : "x-v",
"required" : true,
"schema" : {
"type" : "string"
},
"style" : "simple"
}, {
"description" : "Minimum version of the API endpoint requested by the client. Must be set to a positive integer if provided. The endpoint should respond with the highest supported version between [_x-min-v_](#request-headers) and [_x-v_](#request-headers). If all versions requested are not supported then the endpoint **MUST** respond with a `406 Not Acceptable`.",
"explode" : false,
"in" : "header",
"name" : "x-min-v",
"required" : false,
"schema" : {
"type" : "string"
},
"style" : "simple"
}, {
"description" : "The _x-fapi-interaction-id_ header value provided by the Data Recipient. If not supplied by the Data Recipient, the primary Data Holder **MUST** create a unique **[[RFC4122]](#nref-RFC4122)** UUID value for the _x-fapi-interaction-id_ header.",
"explode" : false,
"in" : "header",
"name" : "x-fapi-interaction-id",
"required" : true,
"schema" : {
"type" : "string"
},
"style" : "simple"
}, {
"description" : "A unique string representing a consent arrangement between a Data Recipient Software Product and Data Holder for a given consumer. The identifier **MUST** be unique per customer according to the definition of customer in the CDR Federation section of this profile. The _x-cds-arrangement_ should contain the arrangement ID for the consent that the request is being made under and will be used for tracing and audit purposes. This field **MUST** be populated but AEMO **MUST NOT** seek to validate the consent associated with the arrangement.",
"explode" : false,
"in" : "header",
"name" : "x-cds-arrangement",
"required" : true,
"schema" : {
"type" : "string"
},
"style" : "simple"
} ],
"requestBody" : {
"$ref" : "#/components/requestBodies/RequestSDHServicePointIds"
},
"responses" : {
"200" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/EnergyServicePointListResponseV2"
}
}
},
"description" : "Successful response",
"headers" : {
"x-v" : {
"$ref" : "#/components/headers/XV"
},
"x-fapi-interaction-id" : {
"$ref" : "#/components/headers/XFAPIInteractionId"
}
}
},
"400" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ResponseErrorListV2"
}
}
},
"description" : "The following error codes **MUST** be supported: