forked from Shared/esg
add docs
This commit is contained in:
@@ -56,6 +56,9 @@ SHEBA_FALLBACK_PROVIDERS=
|
|||||||
CAR_PLATE_DEFAULT_PROVIDER=HAMTA
|
CAR_PLATE_DEFAULT_PROVIDER=HAMTA
|
||||||
CAR_PLATE_FALLBACK_ENABLED=true
|
CAR_PLATE_FALLBACK_ENABLED=true
|
||||||
CAR_PLATE_FALLBACK_PROVIDERS=
|
CAR_PLATE_FALLBACK_PROVIDERS=
|
||||||
|
CAR_BY_MOTOR_DEFAULT_PROVIDER=PARSIAN
|
||||||
|
CAR_BY_MOTOR_FALLBACK_ENABLED=false
|
||||||
|
CAR_BY_MOTOR_FALLBACK_PROVIDERS=
|
||||||
POLICY_BY_CHASSIS_DEFAULT_PROVIDER=PARSIAN
|
POLICY_BY_CHASSIS_DEFAULT_PROVIDER=PARSIAN
|
||||||
POLICY_BY_CHASSIS_FALLBACK_ENABLED=false
|
POLICY_BY_CHASSIS_FALLBACK_ENABLED=false
|
||||||
POLICY_BY_CHASSIS_FALLBACK_PROVIDERS=
|
POLICY_BY_CHASSIS_FALLBACK_PROVIDERS=
|
||||||
|
|||||||
@@ -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
|
## Car Policy By Chassis
|
||||||
|
|
||||||
### Endpoint
|
### Endpoint
|
||||||
|
|||||||
@@ -220,6 +220,11 @@ PARSIAN_SHEBA_USERNAME=parsian.sayah
|
|||||||
PARSIAN_SHEBA_PASSWORD=your-password
|
PARSIAN_SHEBA_PASSWORD=your-password
|
||||||
PARSIAN_SHEBA_AUTH_METHOD=AMITIS
|
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)
|
# Car policy inquiry by chassis (SOAP auth)
|
||||||
PARSIAN_POLICY_BY_CHASSIS_URL=http://reinsure.centinsur.ir/CarAllPlcysV4
|
PARSIAN_POLICY_BY_CHASSIS_URL=http://reinsure.centinsur.ir/CarAllPlcysV4
|
||||||
PARSIAN_POLICY_BY_CHASSIS_USERNAME=pa6476
|
PARSIAN_POLICY_BY_CHASSIS_USERNAME=pa6476
|
||||||
|
|||||||
Reference in New Issue
Block a user