Create Premise

post

/rest/apis/customer/v-model/premises/

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/xml ()
Root Schema : schema
Type: object
Show Source
Nested Schema : address
Type: object
Show Source
  • Maximum Length: 254
    The first line of the address.
  • Maximum Length: 254
    The Second line of the address.
  • Maximum Length: 254
    The Third line of the address.
  • Maximum Length: 254
    The Fourth line of the address.
  • Maximum Length: 90
    The city of the address.
  • country
    The Country of the address. Country retrieves its default value from the installation options. The address constituents may differ depending on the Country.
  • Maximum Length: 90
    The county of the address.
  • Maximum Length: 11
    Geographic code is used to apply proper taxation rules to the physical address location.
  • Allowed Values: [ "AB ", "WW " ]
    Indicates the type of house if applicable. * `AB ` - House Boat References, * `WW ` - House Trailer Reference
  • Define In City Limit as true if the address is considered within the physical city limits.
    Example: true
  • Indicates whether the address is a valid Mailing Address that can be used for the Account mailing.
    Example: true
  • Maximum Length: 6
    The first street number line of the address.
  • Maximum Length: 4
    The Second street number line of the address.
  • Maximum Length: 12
    The postal code of the address.
    Example: 90210
  • Maximum Length: 6
    The state of the address.
    Example: CA
Nested Schema : alternateAddresses
Type: object
Show Source
Nested Schema : characteristics
Type: object
Show Source
Nested Schema : division
Type: object
CIS Division is used to define the jurisdiction in which the premise is located if the premise type allows CIS Division. This defaults based on the Country and the Postal Code, but can be overridden.
Show Source
  • Maximum Length: 5
    CIS Division is used to define the jurisdiction in which the premise is located if the premise type allows CIS Division. This defaults based on the Country and the Postal Code, but can be overridden.
    Example: CA
Nested Schema : geographicLocations
Type: object
Show Source
Nested Schema : landlordAgreement
Type: object
Show Source
  • Maximum Length: 10
    Landlord Agreement is used to define the landlord agreement that covers the premise, if any.
    Example: 3892132118
Nested Schema : meterReadInstruction
Type: object
MR Instruction defines specific instructions that are provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
Show Source
  • Maximum Length: 4
    MR Instruction defines specific instructions that are provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
    Example: CON
  • Maximum Length: 60
    MR Instruction defines specific instructions that are provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
    Example: CON
Nested Schema : meterReadWarning
Type: object
MR Warning defines a specific warning that is provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
Show Source
  • Maximum Length: 4
    MR Warning defines a specific warning that is provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
    Example: DANG
  • Maximum Length: 60
    MR Warning defines a specific warning that is provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
    Example: DANG
Nested Schema : parentPremiseId
Type: object
Parent Premise is used to include this premise in a premise hierarchy.
Show Source
  • Maximum Length: 10
    Parent Premise is used to include this premise in a premise hierarchy.
    Example: 5150218089
Nested Schema : premiseType
Type: object
Premise Type indicates the type of premise.
Show Source
Nested Schema : serviceTypes
Type: array
Show Source
Nested Schema : timeZone
Type: object
Enter the Time Zone in which the premise is located. This value retrieves a default value from postal defaults.
Show Source
  • Maximum Length: 10
    Enter the Time Zone in which the premise is located. This value retrieves a default value from postal defaults.
    Example: USPACIFIC
Nested Schema : trendArea
Type: object
Trend Area must be defined if Postal information is blank. The Postal and the Trend Area cannot both be blank as the Trend Area is a required field on the premise and its value is typically retrieved from postal defaults.
Show Source
  • Maximum Length: 8
    Trend Area must be defined if Postal information is blank. The Postal and the Trend Area cannot both be blank as the Trend Area is a required field on the premise and its value is typically retrieved from postal defaults.
    Example: SF
Nested Schema : country
Type: object
The Country of the address. Country retrieves its default value from the installation options. The address constituents may differ depending on the Country.
Show Source
  • Maximum Length: 3
    The Country of the address. Country retrieves its default value from the installation options. The address constituents may differ depending on the Country.
    Example: USA
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : alternateAddress
Type: object
Show Source
Nested Schema : country
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : characteristicType
Type: object
Show Source
Nested Schema : characteristicValue
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : geographicType
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
  • Maximum Length: 80
    Service Type defines the type of service associated with the SA type
    Example: E
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : address
Type: object
Show Source
  • Maximum Length: 254
    The first line of the address.
  • Maximum Length: 254
    The Second line of the address.
  • Maximum Length: 254
    The Third line of the address.
  • Maximum Length: 254
    The Fourth line of the address.
  • Maximum Length: 90
    The city of the address.
  • country
    The Country of the address. Country retrieves its default value from the installation options. The address constituents may differ depending on the Country.
  • Maximum Length: 90
    The county of the address.
  • Maximum Length: 11
    Geographic code is used to apply proper taxation rules to the physical address location.
  • Allowed Values: [ "AB ", "WW " ]
    Indicates the type of house if applicable. * `AB ` - House Boat References, * `WW ` - House Trailer Reference
  • Define In City Limit as true if the address is considered within the physical city limits.
    Example: true
  • Indicates whether the address is a valid Mailing Address that can be used for the Account mailing.
    Example: true
  • Maximum Length: 6
    The first street number line of the address.
  • Maximum Length: 4
    The Second street number line of the address.
  • Maximum Length: 12
    The postal code of the address.
    Example: 90210
  • Maximum Length: 6
    The state of the address.
    Example: CA
Nested Schema : alternateAddresses
Type: object
Show Source
Nested Schema : characteristics
Type: object
Show Source
Nested Schema : division
Type: object
CIS Division is used to define the jurisdiction in which the premise is located if the premise type allows CIS Division. This defaults based on the Country and the Postal Code, but can be overridden.
Show Source
  • Maximum Length: 5
    CIS Division is used to define the jurisdiction in which the premise is located if the premise type allows CIS Division. This defaults based on the Country and the Postal Code, but can be overridden.
    Example: CA
Nested Schema : geographicLocations
Type: object
Show Source
Nested Schema : landlordAgreement
Type: object
Show Source
  • Maximum Length: 10
    Landlord Agreement is used to define the landlord agreement that covers the premise, if any.
    Example: 3892132118
Nested Schema : meterReadInstruction
Type: object
MR Instruction defines specific instructions that are provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
Show Source
  • Maximum Length: 4
    MR Instruction defines specific instructions that are provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
    Example: CON
  • Maximum Length: 60
    MR Instruction defines specific instructions that are provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
    Example: CON
Nested Schema : meterReadWarning
Type: object
MR Warning defines a specific warning that is provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
Show Source
  • Maximum Length: 4
    MR Warning defines a specific warning that is provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
    Example: DANG
  • Maximum Length: 60
    MR Warning defines a specific warning that is provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
    Example: DANG
Nested Schema : parentPremiseId
Type: object
Parent Premise is used to include this premise in a premise hierarchy.
Show Source
  • Maximum Length: 10
    Parent Premise is used to include this premise in a premise hierarchy.
    Example: 5150218089
Nested Schema : premiseType
Type: object
Premise Type indicates the type of premise.
Show Source
Nested Schema : serviceTypes
Type: array
Show Source
Nested Schema : timeZone
Type: object
Enter the Time Zone in which the premise is located. This value retrieves a default value from postal defaults.
Show Source
  • Maximum Length: 10
    Enter the Time Zone in which the premise is located. This value retrieves a default value from postal defaults.
    Example: USPACIFIC
Nested Schema : trendArea
Type: object
Trend Area must be defined if Postal information is blank. The Postal and the Trend Area cannot both be blank as the Trend Area is a required field on the premise and its value is typically retrieved from postal defaults.
Show Source
  • Maximum Length: 8
    Trend Area must be defined if Postal information is blank. The Postal and the Trend Area cannot both be blank as the Trend Area is a required field on the premise and its value is typically retrieved from postal defaults.
    Example: SF
Nested Schema : country
Type: object
The Country of the address. Country retrieves its default value from the installation options. The address constituents may differ depending on the Country.
Show Source
  • Maximum Length: 3
    The Country of the address. Country retrieves its default value from the installation options. The address constituents may differ depending on the Country.
    Example: USA
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : alternateAddress
Type: object
Show Source
Nested Schema : country
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : characteristicType
Type: object
Show Source
Nested Schema : characteristicValue
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : geographicType
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
  • Maximum Length: 80
    Service Type defines the type of service associated with the SA type
    Example: E
Back to Top

Response

Supported Media Types

200 Response

Success response
Body ()
Root Schema : C1-Premise
Type: object
Show Source
Nested Schema : address
Type: object
Show Source
  • Maximum Length: 254
    The first line of the address.
  • Maximum Length: 254
    The Second line of the address.
  • Maximum Length: 254
    The Third line of the address.
  • Maximum Length: 254
    The Fourth line of the address.
  • Maximum Length: 90
    The city of the address.
  • country
    The Country of the address. Country retrieves its default value from the installation options. The address constituents may differ depending on the Country.
  • Maximum Length: 90
    The county of the address.
  • Maximum Length: 11
    Geographic code is used to apply proper taxation rules to the physical address location.
  • Allowed Values: [ "AB ", "WW " ]
    Indicates the type of house if applicable. * `AB ` - House Boat References, * `WW ` - House Trailer Reference
  • Define In City Limit as true if the address is considered within the physical city limits.
    Example: true
  • Indicates whether the address is a valid Mailing Address that can be used for the Account mailing.
    Example: true
  • Maximum Length: 6
    The first street number line of the address.
  • Maximum Length: 4
    The Second street number line of the address.
  • Maximum Length: 12
    The postal code of the address.
    Example: 90210
  • Maximum Length: 6
    The state of the address.
    Example: CA
Nested Schema : alternateAddresses
Type: object
Show Source
Nested Schema : characteristics
Type: object
Show Source
Nested Schema : division
Type: object
CIS Division is used to define the jurisdiction in which the premise is located if the premise type allows CIS Division. This defaults based on the Country and the Postal Code, but can be overridden.
Show Source
  • Maximum Length: 5
    CIS Division is used to define the jurisdiction in which the premise is located if the premise type allows CIS Division. This defaults based on the Country and the Postal Code, but can be overridden.
    Example: CA
Nested Schema : geographicLocations
Type: object
Show Source
Nested Schema : landlordAgreement
Type: object
Show Source
Nested Schema : meterReadInstruction
Type: object
MR Instruction defines specific instructions that are provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
Show Source
  • Maximum Length: 4
    MR Instruction defines specific instructions that are provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
    Example: CON
  • Maximum Length: 60
    MR Instruction defines specific instructions that are provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
    Example: CON
Nested Schema : meterReadWarning
Type: object
MR Warning defines a specific warning that is provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
Show Source
  • Maximum Length: 4
    MR Warning defines a specific warning that is provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
    Example: DANG
  • Maximum Length: 60
    MR Warning defines a specific warning that is provided to the person who reads the meter. Meter read instructions and warnings are downloaded as part of the meter read download.
    Example: DANG
Nested Schema : parentPremiseId
Type: object
Parent Premise is used to include this premise in a premise hierarchy.
Show Source
Nested Schema : premiseType
Type: object
Premise Type indicates the type of premise.
Show Source
Nested Schema : serviceTypes
Type: array
Show Source
Nested Schema : timeZone
Type: object
Enter the Time Zone in which the premise is located. This value retrieves a default value from postal defaults.
Show Source
  • Maximum Length: 10
    Enter the Time Zone in which the premise is located. This value retrieves a default value from postal defaults.
    Example: USPACIFIC
Nested Schema : trendArea
Type: object
Trend Area must be defined if Postal information is blank. The Postal and the Trend Area cannot both be blank as the Trend Area is a required field on the premise and its value is typically retrieved from postal defaults.
Show Source
  • Maximum Length: 8
    Trend Area must be defined if Postal information is blank. The Postal and the Trend Area cannot both be blank as the Trend Area is a required field on the premise and its value is typically retrieved from postal defaults.
    Example: SF
Nested Schema : country
Type: object
The Country of the address. Country retrieves its default value from the installation options. The address constituents may differ depending on the Country.
Show Source
  • Maximum Length: 3
    The Country of the address. Country retrieves its default value from the installation options. The address constituents may differ depending on the Country.
    Example: USA
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : alternateAddress
Type: object
Show Source
Nested Schema : country
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : characteristicType
Type: object
Show Source
Nested Schema : characteristicValue
Type: object
Show Source
Nested Schema : _data
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : geographicType
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
  • Maximum Length: 80
    Service Type defines the type of service associated with the SA type
    Example: E

400 Response

Bad Request
Body ()
Root Schema : problemDetailDocument
Type: object
Show Source
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 9999
    The HTTP Status code for the error.
  • Maximum Length: 60
    Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction.
  • Maximum Length: 60
    URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework.
  • serverMessage
  • Maximum Length: 60
    The stack trace shows where the error occurs during the execution of a program.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type: object
Show Source
  • Maximum Length: 60
    Delimited sequence of programs called.
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 0
    Message Category within Oracle Utilities Application Framework.
  • Minimum Value: -99999
    Maximum Value: 99999
    Message Number within Oracle Utilities Application Framework.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
  • Maximum Length: 60
    Name of the program that encountered the error.

500 Response

Internal Server Error
Body ()
Root Schema : problemDetailDocument
Type: object
Show Source
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 9999
    The HTTP Status code for the error.
  • Maximum Length: 60
    Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction.
  • Maximum Length: 60
    URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework.
  • serverMessage
  • Maximum Length: 60
    The stack trace shows where the error occurs during the execution of a program.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type: object
Show Source
  • Maximum Length: 60
    Delimited sequence of programs called.
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 0
    Message Category within Oracle Utilities Application Framework.
  • Minimum Value: -99999
    Maximum Value: 99999
    Message Number within Oracle Utilities Application Framework.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
  • Maximum Length: 60
    Name of the program that encountered the error.
Back to Top