Get all the tenders for a user
ApiScope: payment.user.tender.read
API Scope Level: ServiceSubscriberScope
Path Parameters
departmentUuid string required
dealerAssociateUuid string required
Responses
- 200
OK
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
paymentUserTenderDTOList object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string",
"errorDescription": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string",
"warningDescription": "string"
}
],
"paymentUserTenderDTOList": [
{
"paymentUser": {
"id": 0,
"dealerAssociateUUID": "string",
"userUUID": "string",
"dealerDepartmentUUID": "string"
},
"tenderSubType": {
"id": 0,
"subTenderName": "string",
"tenderType": {
"id": 0,
"version": 0,
"tenderName": "string",
"availableOnMobile": true
},
"valid": true
},
"cashLimit": 0
}
]
}
GET /v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes
Request
Request
curl / cURL
curl -L -X GET '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Accept: */*'
python / requests
curl -L -X GET '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Accept: */*'
go / native
curl -L -X GET '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Accept: */*'
nodejs / axios
curl -L -X GET '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Accept: */*'
ruby / Net::HTTP
curl -L -X GET '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Accept: */*'
csharp / RestSharp
curl -L -X GET '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Accept: */*'
php / cURL
curl -L -X GET '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Accept: */*'
java / OkHttp
curl -L -X GET '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Accept: */*'
powershell / RestMethod
curl -L -X GET '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Accept: */*'