NOT FOR PUBLIC DISTRIBUTION: 2020-09-23
Retrieve list of contracts
get
/spms/v1/contracts
This is to retrieve a list of all contracts
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Retrieve a list of all contracts
Root Schema : schema
Type:
Show Source
array
-
Array of:
object Oracle Response object containing list items
Title:
Oracle Response object containing list items
The object returned in Oracle Standard when function is executed successfully
Nested Schema : Oracle Response object containing list items
Type:
object
Title:
Oracle Response object containing list items
The object returned in Oracle Standard when function is executed successfully
Show Source
Nested Schema : items
Type:
Show Source
array
-
Array of:
object Contract
Title:
Contract
Legal document for guest to sign/ acknowledge
Nested Schema : Contract
Type:
object
Title:
Contract
Legal document for guest to sign/ acknowledge
Show Source
-
category:
integer
Minimum Value:
1
Maximum Value:1
This value is the id value obtained from Contract CategoryExample:1
-
content(optional):
string
Minimum Value:
0
Maximum Value:50000
Pattern:^[a-zA-Z0-9 _,\\?/\\.\\-\\\\+\\*\n~!@#$%&{}\\[\\]()=<>\\|\\^\\":;@`]*$
This is the content of the contractExample:Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-
enabled(optional):
boolean
Indicates whether this contract is enabledExample:
true
-
name:
string
Minimum Value:
1
Maximum Value:100
Pattern:^[a-zA-Z0-9 ]*$
Example:Oracle Cruise Contract
-
remarks(optional):
boolean
Indicates whether the remarks textbox should be displayed or notExample:
true
-
signature(optional):
boolean
Indicates whether the signature is required or not. True indicates required, false indicates not required.Example:
true
-
termsAndCondition(optional):
string
Minimum Value:
0
Maximum Value:500
Pattern:^[a-zA-Z0-9 _,\\?/\\.\\-\\\\+\\*\n~!@#$%&{}\\[\\]()=<>\\|\\^\\":;@`]*$
This is the actual terms and condition for this contractExample:Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
-
termsAndConditionStatus(optional):
boolean
Indicates whether the terms and condition is mandatory or optional. True indicates mandatory, false indicates optional.Example:
true
204 Response
No contacts is available
401 Response
You are not authorized to use this API
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
403 Response
You are forbidden to use this API
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
405 Response
This method is not available
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
415 Response
The media supplied is not supported
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
500 Response
Error occurred while processing this request
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
502 Response
Bad Gateway
503 Response
Service not available