This api is consumed by a developer in order to test connection with Campari's APIs.
## 1. GET operation
#### Request URI
#### Response Structure
API field
Type
Description
Status
String
Value in case of success: "Connection tested successfully"
Message
String
Value in case of success: "Welcome to Campari"
#### Response Example
In case of errors, a HTTP error code will be returned, for example the 401 code stands for "Unauthorized".
## 2. POST operation
#### Request URI
#### Request Structure
API field
Type
Mandatory
Example
header
field1
String
Y
Test
field2
String
Y
Connection
field3
String
Y
Campari
#### Request Example
#### Response Structure
API field
Type
Description
Status
String
Value in case of success: "Connection tested successfully"
Message
String
It contains the concatenation of input fields: field1 field2 field3
#### Response Example
In case of errors, a HTTP error code will be returned, for example the 401 code stands for "Unauthorized".
## 3. PUT operation
#### Request URI
#### Request Structure
API field
Type
Mandatory
Example
header
field1
String
Y
Test
field2
String
Y
Connection
field3
String
Y
Campari
#### Request Example
#### Response Structure
API field
Type
Description
Status
String
Value in case of success: "Connection tested successfully"
Message
String
It contains the concatenation of input fields: field1 field2 field3
#### Response Example
In case of errors, a HTTP error code will be returned, for example the 401 code stands for "Unauthorized".
0 Comments
Please sign in to post a comment.