Search SA for Account
post
/spl/rest/apis/customer/v-model/serviceAgreements/search
Request
There are no request parameters for this operation.
Supported Media Types
- application/xml
- application/json
Root Schema : schema
Type:
Show Source
object
-
filters: object
filters
-
limit: number
Minimum Value:
0
Maximum Value:9.99999999999999E8
Page LimitExample:2
-
offset: number
Minimum Value:
0
Maximum Value:9.99999999999999E8
Page OffsetExample:2
Nested Schema : filters
Type:
Show Source
object
-
accountId: string
Maximum Length:
10
Account ID is financially responsible for the service agreement. If you change a service agreement's Account ID, you are effectively transferring this service agreement (and its debt) to the new account.Example:1589809012
-
active: string
Allowed Values:
[ "C ", "N ", "Y " ]
Status of Service Agreement with values as C - Closed Only N - All Y - Active * `C ` - Closed Only, * `N ` - All, * `Y ` - Active -
includeLatLong: string
Allowed Values:
[ "N ", "Y " ]
Flag for Premise LatLong Geo Type * `N ` - No, * `Y ` - YesExample:Y
-
serviceType: string
Maximum Length:
80
Service Type defines the type of service associated with the SA type.Example:E
-
timeframeDate: string
(date)
Date filter field which is used only with active flag values of N & C. This date represents the earliest date of interest for inactive contracts.
Root Schema : schema
Type:
Show Source
object
-
filters: object
filters
-
limit: number
Minimum Value:
0
Maximum Value:9.99999999999999E8
Page LimitExample:2
-
offset: number
Minimum Value:
0
Maximum Value:9.99999999999999E8
Page OffsetExample:2
Nested Schema : filters
Type:
Show Source
object
-
accountId: string
Maximum Length:
10
Account ID is financially responsible for the service agreement. If you change a service agreement's Account ID, you are effectively transferring this service agreement (and its debt) to the new account.Example:1589809012
-
active: string
Allowed Values:
[ "C ", "N ", "Y " ]
Status of Service Agreement with values as C - Closed Only N - All Y - Active * `C ` - Closed Only, * `N ` - All, * `Y ` - Active -
includeLatLong: string
Allowed Values:
[ "N ", "Y " ]
Flag for Premise LatLong Geo Type * `N ` - No, * `Y ` - YesExample:Y
-
serviceType: string
Maximum Length:
80
Service Type defines the type of service associated with the SA type.Example:E
-
timeframeDate: string
(date)
Date filter field which is used only with active flag values of N & C. This date represents the earliest date of interest for inactive contracts.
Response
Supported Media Types
- application/xml
- application/json
200 Response
Success response
Root Schema : C1SASearhSer
Type:
Show Source
object
-
limit: number
Minimum Value:
0
Maximum Value:9.99999999999999E8
Page LimitExample:2
-
offset: number
Minimum Value:
0
Maximum Value:9.99999999999999E8
Page OffsetExample:2
-
serviceAgreements: array
serviceAgreements
-
totalNumberOfRecords: number
Minimum Value:
0
Maximum Value:99999
Total number of recordsExample:4
Nested Schema : premiseDetails
Type:
Show Source
object
-
address1: string
Maximum Length:
254
Premise AddressExample:22 Northwood Road
-
premise: object
premise
-
premiseAddress: string
Maximum Length:
254
Premise InfoExample:22 Northwood Road, San Francisco, CA, 94105
-
premiseLatitude: number
Minimum Value:
0
Maximum Value:9.99999999999999E8
Premise LatitudeExample:72
-
premiseLongitude: number
Minimum Value:
0
Maximum Value:9.99999999999999E8
Premise LongitudeExample:141
Nested Schema : serviceAgreementDetails
Type:
Show Source
object
-
cisDivisionDescription: string
Maximum Length:
1
Description for CIS Division. CIS Division defines the jurisdiction that governs the account.Example:California
-
endDate: string
(date)
The End Date defines when the financial relationship terminates.Example:
2018-02-25
-
isActive: boolean
IsActive flag to show active SAs for accountExample:
false
-
saStatusDescription: string
Maximum Length:
60
Description for SA StatusExample:Canceled
-
saTypeDescription: string
Maximum Length:
30
Description for Service Agreement TypeExample:Electric commercial
-
serviceAgreement: object
serviceAgreement
-
serviceType: string
Maximum Length:
80
Service Type defines the type of service associated with the SA type.Example:E
-
startDate: string
(date)
The Start Date defines when the financial relationship begins.
Nested Schema : premise
Type:
Show Source
object
-
_link: string
_link
-
premiseId: string
Maximum Length:
10
Premise ID is a system-assigned, unique identifier that shows the primary premise associated with the service agreement.Example:7735910061
Nested Schema : serviceAgreement
Type:
Show Source
object
-
_link: string
_link
-
serviceAgreementId: string
Maximum Length:
10
The Service Agreement ID is a system assigned random number that stays with a service agreement for life.
400 Response
Bad Request
Root Schema : problemDetailDocument
Type:
Show Source
object
-
detail: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0
Maximum Value:9999
The HTTP Status code for the error. -
problemInstance: string
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. -
problemType: string
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: object
serverMessage
-
stackTrace: string
Maximum Length:
60
The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object
-
callSequence: string
Maximum Length:
60
Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0
Maximum Value:0
Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999
Maximum Value:99999
Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60
Name of the program that encountered the error.
500 Response
Internal Server Error
Root Schema : problemDetailDocument
Type:
Show Source
object
-
detail: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0
Maximum Value:9999
The HTTP Status code for the error. -
problemInstance: string
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. -
problemType: string
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: object
serverMessage
-
stackTrace: string
Maximum Length:
60
The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object
-
callSequence: string
Maximum Length:
60
Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0
Maximum Value:0
Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999
Maximum Value:99999
Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60
Name of the program that encountered the error.