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 Top

Response

Supported Media Types

200 Response

Retrieve a list of all contracts
Body ()
Root Schema : schema
Type: array
Show Source
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: array
Show Source
Nested Schema : Contract
Type: object
Title: Contract
Legal document for guest to sign/ acknowledge
Show Source
  • Minimum Value: 1
    Maximum Value: 1
    This value is the id value obtained from Contract Category
    Example: 1
  • Minimum Value: 0
    Maximum Value: 50000
    Pattern: ^[a-zA-Z0-9 _,\\?/\\.\\-\\\\+\\*\n~!@#$%&{}\\[\\]()=<>\\|\\^\\":;@`]*$
    This is the content of the contract
    Example: 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.
  • Indicates whether this contract is enabled
    Example: true
  • Minimum Value: 1
    Maximum Value: 100
    Pattern: ^[a-zA-Z0-9 ]*$
    Example: Oracle Cruise Contract
  • Indicates whether the remarks textbox should be displayed or not
    Example: true
  • Indicates whether the signature is required or not. True indicates required, false indicates not required.
    Example: true
  • Minimum Value: 0
    Maximum Value: 500
    Pattern: ^[a-zA-Z0-9 _,\\?/\\.\\-\\\\+\\*\n~!@#$%&{}\\[\\]()=<>\\|\\^\\":;@`]*$
    This is the actual terms and condition for this contract
    Example: 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.
  • 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
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

403 Response

You are forbidden to use this API
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

405 Response

This method is not available
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

415 Response

The media supplied is not supported
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

500 Response

Error occurred while processing this request
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

502 Response

Bad Gateway

503 Response

Service not available
Back to Top