3. Update
You can use this service to update the labels on your terminals.
PUT
{{Base Address}}/api/terminal/tag
It is sufficient to send a request to the address provided above. You can use the 'Base Address' as needed for both the test environment and the production environment.
The header information that should be sent to the service is as follows:
apikeyprivate
string
Yes
The Private Key obtained from the merchant panel.
apiclientprivate
string
Yes
The Private Client obtained from the merchant panel.
The body information that should be sent to the service is as follows:
{
"TerminalTagId": "00a85f64-5717-4562-b3fc-2c963f66afa6",
"Name": "Levent Şube 3. Cihaz",
"Code": "levent_sube_cihaz_3",
"IsActive": false
}
TerminalId
Guid
Yes
-
The ID of your terminal.
Name
string
Yes
100
The label name.
Code
string
Yes
25
The unique code for the label.
The response returned by the service:
Result
object
It returns the details from the service.
ErrorCode
int
Error code. If the operation is successful, it returns the value '0'.
Succeeded
bool
It returns a true or false value. If the operation is successful, it returns the value 'true'.
Failed
bool
It returns a true or false value. If the operation is unsuccessful, it returns the value 'true'.
Message
string
If the operation is faulty, this is the error message related to it. It provides language support based on the locale parameter.
ClientMessage
string
It returns the fixed values of the Paywall error codes. You can perform mapping.
{
"result": {
"status": true
},
"failed": false,
"message": null,
"clientMessage": null,
"succeeded": true
}
Last updated