Add unit and integration tests for economic_transfer_queue and related endpoints, replacing synchronous fallback methods with queue-based processing.
This commit is contained in:
@@ -20,6 +20,71 @@ Authorization: Bearer e9d4359673de64f6a9bc4231bf50ac9f5726ad5b3ee6fcad5f8ebbb206
|
||||
"phone": 42331128
|
||||
}
|
||||
|
||||
### POST request to /collected-invoices/move-multiple
|
||||
POST https://api.truckwash.io:4433/collected-invoices/move-multiple
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
Authorization: Bearer e9d4359673de64f6a9bc4231bf50ac9f5726ad5b3ee6fcad5f8ebbb20647c3b8
|
||||
|
||||
{
|
||||
"order_ids": [54518, 48782, 48744],
|
||||
"target_customer_number": 42460282,
|
||||
"closed_at": "2026-03-31"
|
||||
}
|
||||
|
||||
### POST request to /collected-invoices/move-multiple/registration-numbers
|
||||
POST https://api.truckwash.io:4433/collected-invoices/move-multiple/registration-numbers
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
Authorization: Bearer e9d4359673de64f6a9bc4231bf50ac9f5726ad5b3ee6fcad5f8ebbb20647c3b8
|
||||
|
||||
{
|
||||
"registration_numbers": ["DC29870",
|
||||
"DJ58975",
|
||||
"DL29041",
|
||||
"DN23122",
|
||||
"DN23014",
|
||||
"AK71417",
|
||||
"DX22135",
|
||||
"DX22132",
|
||||
"DX22134",
|
||||
"DR97418",
|
||||
"DR32398",
|
||||
"DR97427",
|
||||
"DS11478",
|
||||
"DC29873",
|
||||
"AA72279",
|
||||
"AC38858",
|
||||
"AY59064",
|
||||
"AL94096",
|
||||
"AZ20321",
|
||||
"BB25208",
|
||||
"CZ72055",
|
||||
"DV11106",
|
||||
"DJ31995",
|
||||
"DN23025",
|
||||
"DN88009",
|
||||
"DP53305",
|
||||
"DR97424",
|
||||
"DS11485",
|
||||
"DW85802",
|
||||
"AG4277",
|
||||
"AG4278",
|
||||
"AG4279",
|
||||
"AH2383",
|
||||
"AH5739",
|
||||
"AH4647",
|
||||
"AH5741",
|
||||
"CM1169",
|
||||
"EY4630",
|
||||
"EK2303",
|
||||
"FB5526",
|
||||
"FB5527"],
|
||||
"target_customer_number": 43323232,
|
||||
"from_date": "2026-04-01",
|
||||
"to_date": "2026-04-30",
|
||||
"closed_at": "2026-04-30"
|
||||
}
|
||||
### GET request to /subusers/setup
|
||||
GET https://api.truckwash.dk:4433/subusers/setup?token=1c1be8280bac3937487e5c77b76bb839
|
||||
Accept: application/json
|
||||
|
||||
Reference in New Issue
Block a user