[add]: eco endpoints and dummy responses
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": ["username", "password"],
|
||||
"properties": {
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"password": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"resultCode": {
|
||||
"type": "string"
|
||||
},
|
||||
"resultDescription": {
|
||||
"type": "string"
|
||||
},
|
||||
"token": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": ["requestId", "affiliateCode", "debtId", "principal", "interest", "penalty", "collectAmount"],
|
||||
"properties": {
|
||||
"requestId": { "type": "string" },
|
||||
"affiliateCode": { "type": "string" },
|
||||
"debtId": { "type": "integer" },
|
||||
"principal": { "type": "number" },
|
||||
"interest": { "type": "number" },
|
||||
"penalty": { "type": "number" },
|
||||
"collectAmount": { "type": "number" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"transactionId": { "type": "string" },
|
||||
"amountCollected": { "type": "number" },
|
||||
"resultCode": { "type": "integer" },
|
||||
"resultDescription": { "type": "string" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": ["requestId", "affiliateCode", "customerId", "accountId", "debtId"],
|
||||
"properties": {
|
||||
"requestId": { "type": "string" },
|
||||
"affiliateCode": { "type": "string" },
|
||||
"customerId": { "type": "string" },
|
||||
"accountId": { "type": "string" },
|
||||
"debtId": { "type": "integer" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"resultCode": { "type": "integer" },
|
||||
"resultDescription": { "type": "string" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": ["requestId", "affiliateCode", "debtId", "productId", "customerId", "accountId", "provideAmount", "collectAmount", "interestRate"],
|
||||
"properties": {
|
||||
"requestId": { "type": "string" },
|
||||
"affiliateCode": { "type": "string" },
|
||||
"debtId": { "type": "integer" },
|
||||
"productId": { "type": "string" },
|
||||
"customerId": { "type": "string" },
|
||||
"accountId": { "type": "string" },
|
||||
"provideAmount": { "type": "number" },
|
||||
"collectAmount": { "type": "number" },
|
||||
"interestRate": { "type": "number" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"transactionId": { "type": "string" },
|
||||
"resultCode": { "type": "integer" },
|
||||
"resultDescription": { "type": "string" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": ["requestId", "phoneNums", "affiliateCode", "message"],
|
||||
"properties": {
|
||||
"requestId": { "type": "string" },
|
||||
"phoneNums": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" }
|
||||
},
|
||||
"affiliateCode": { "type": "string" },
|
||||
"message": { "type": "string" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"undelivered": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" }
|
||||
},
|
||||
"resultCode": { "type": "integer" },
|
||||
"resultDescription": { "type": "string" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user