This commit is contained in:
SepehrYahyaee
2026-09-30 17:02:17 +03:30
parent 36deb87582
commit 1ec9b3262d
3 changed files with 25 additions and 0 deletions
+17
View File
@@ -405,6 +405,23 @@ curl -X POST https://api.example.com/api/inquiry/sheba \
}'
```
## Car Insurance By Motor Number
### Endpoint
```
POST /api/inquiry/carByMotor
```
The Parsian provider calls the `CIIWSPolicyMotor` SOAP operation and only returns the policy when its owner national code matches the request.
### Request Body
```json
{
"nationalCode": "0123456789",
"motorNo": "147H0403219"
}
```
## Car Policy By Chassis
### Endpoint
+5
View File
@@ -220,6 +220,11 @@ PARSIAN_SHEBA_USERNAME=parsian.sayah
PARSIAN_SHEBA_PASSWORD=your-password
PARSIAN_SHEBA_AUTH_METHOD=AMITIS
# Car-by-motor routing (reuses the configured Parsian car-policy SOAP URL and credentials)
CAR_BY_MOTOR_DEFAULT_PROVIDER=PARSIAN
CAR_BY_MOTOR_FALLBACK_ENABLED=false
CAR_BY_MOTOR_FALLBACK_PROVIDERS=
# Car policy inquiry by chassis (SOAP auth)
PARSIAN_POLICY_BY_CHASSIS_URL=http://reinsure.centinsur.ir/CarAllPlcysV4
PARSIAN_POLICY_BY_CHASSIS_USERNAME=pa6476