GET api/utilities/objects?CustomerID={CustomerID}&Page={Page}

Method for retreiving utility object information. It is paginated with page size of 100 records.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CustomerID

Customer ID (optional)

integer

None.

Page

Page number. Page size is 100 records.

integer

Range: inclusive between 1 and 2147483647

Body Parameters

None.

Response Information

Resource Description

Collection of ObjectResponse
NameDescriptionTypeAdditional information
ID

Object ID

integer

Required

Name

Object name

string

Required

Address

Object address

string

Required

Town

Object town

string

Required

Owner

Object owner

string

Required

User

Object user

string

Required

OwnerAddress

Owner address

string

Required

OwnerPostalCode

Owner postal code

string

Required

OwnerTown

Owner town

string

Required

OwnerOIB

Owner OIB

string

Required

UserAddress

User address

string

Required

UserPostalCode

User postal code

string

Required

UserTown

User town

string

Required

UserOIB

User OIB

string

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Name": "sample string 2",
    "Address": "sample string 3",
    "Town": "sample string 4",
    "Owner": "sample string 5",
    "User": "sample string 6",
    "OwnerAddress": "sample string 7",
    "OwnerPostalCode": "sample string 8",
    "OwnerTown": "sample string 9",
    "OwnerOIB": "sample string 10",
    "UserAddress": "sample string 11",
    "UserPostalCode": "sample string 12",
    "UserTown": "sample string 13",
    "UserOIB": "sample string 14"
  },
  {
    "ID": 1,
    "Name": "sample string 2",
    "Address": "sample string 3",
    "Town": "sample string 4",
    "Owner": "sample string 5",
    "User": "sample string 6",
    "OwnerAddress": "sample string 7",
    "OwnerPostalCode": "sample string 8",
    "OwnerTown": "sample string 9",
    "OwnerOIB": "sample string 10",
    "UserAddress": "sample string 11",
    "UserPostalCode": "sample string 12",
    "UserTown": "sample string 13",
    "UserOIB": "sample string 14"
  }
]

application/xml, text/xml

Sample:
<ArrayOfObjectResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.cpis.tetrada.hr.Models">
  <ObjectResponse>
    <Address>sample string 3</Address>
    <ID>1</ID>
    <Name>sample string 2</Name>
    <Owner>sample string 5</Owner>
    <OwnerAddress>sample string 7</OwnerAddress>
    <OwnerOIB>sample string 10</OwnerOIB>
    <OwnerPostalCode>sample string 8</OwnerPostalCode>
    <OwnerTown>sample string 9</OwnerTown>
    <Town>sample string 4</Town>
    <User>sample string 6</User>
    <UserAddress>sample string 11</UserAddress>
    <UserOIB>sample string 14</UserOIB>
    <UserPostalCode>sample string 12</UserPostalCode>
    <UserTown>sample string 13</UserTown>
  </ObjectResponse>
  <ObjectResponse>
    <Address>sample string 3</Address>
    <ID>1</ID>
    <Name>sample string 2</Name>
    <Owner>sample string 5</Owner>
    <OwnerAddress>sample string 7</OwnerAddress>
    <OwnerOIB>sample string 10</OwnerOIB>
    <OwnerPostalCode>sample string 8</OwnerPostalCode>
    <OwnerTown>sample string 9</OwnerTown>
    <Town>sample string 4</Town>
    <User>sample string 6</User>
    <UserAddress>sample string 11</UserAddress>
    <UserOIB>sample string 14</UserOIB>
    <UserPostalCode>sample string 12</UserPostalCode>
    <UserTown>sample string 13</UserTown>
  </ObjectResponse>
</ArrayOfObjectResponse>