POST api/Policy/GetCustomerPolicies
Request Information
URI Parameters
None.
Body Parameters
GetPolicyModelName | Description | Type | Additional information |
---|---|---|---|
string |
Required |
||
LastName | string |
Required Matching regular expression pattern: [0-9A-Za-zÀ-ÖØ-öø-ÿ -'_]* |
|
SiteCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Email": "sample string 1", "LastName": "sample string 2", "SiteCode": "sample string 3" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ViewPolicyResponseName | Description | Type | Additional information |
---|---|---|---|
Policy | PolicyResponse |
None. |
|
CustomerList | Collection of CustomerResponse |
None. |
|
EffectiveDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "Policy": { "$type": "CWI.Models.PolicyResponse, CWI.Models", "Adhesions": { "$type": "System.Collections.Generic.List`1[[CWI.Models.DTO_DC1Adhesion, CWI.Models]], mscorlib", "$values": [ { "$type": "CWI.Models.DTO_DC1Adhesion, CWI.Models", "IdClient": 1, "IdAdhesion": 2, "IdAdhesionString": "sample string 3", "NameClient": "sample string 4", "PostalCodeClient": "sample string 5", "ProductName": "sample string 6", "UMR": "sample string 7", "PrgCode": "sample string 8", "PrgLibelle": "sample string 9", "PrgTemplateMandat": "sample string 10", "IMEI": "sample string 11", "DateAchatAdh": "2024-11-26T00:30:00.4234019-05:00", "DateSaisieAdh": "2024-11-26T00:30:00.4234019-05:00", "NamePrescripteur": "sample string 12", "Etat": "sample string 13", "IsActive": 1, "TelNumber": "sample string 14", "Statut": "sample string 15", "DateNaissance": "2024-11-26T00:30:00.4234019-05:00", "IdEnf": 1, "EnfName": "sample string 16", "EnfSurname": "sample string 17", "EmailConsentement": true, "EnfBirthday": "2024-11-26T00:30:00.4234019-05:00", "Price": 18.0, "FFR_Code": "sample string 19", "DateResilClient": "2024-11-26T00:30:00.4234019-05:00", "DateResilCWI": "2024-11-26T00:30:00.4234019-05:00", "DateRetractation": "2024-11-26T00:30:00.4234019-05:00", "NumContrat": "sample string 20", "DateReception": "2024-11-26T00:30:00.4234019-05:00", "IdAdhesionMaitre": 1, "DateAnnulation": "2024-11-26T00:30:00.4234019-05:00", "DateSuspension": "2024-11-26T00:30:00.4234019-05:00", "DateAnomalie": "2024-11-26T00:30:00.4234019-05:00", "DateIncident": "2024-11-26T00:30:00.4234019-05:00", "DateEffet": "2024-11-26T00:30:00.4234019-05:00", "DateMigration": "2024-11-26T00:30:00.4234019-05:00", "DateCreation": "2024-11-26T00:30:00.4234019-05:00", "TypeFormule": "sample string 21", "RetentionIsActive": true, "RetentionDateStart": "2024-11-26T00:30:00.4234019-05:00", "RetentionDateEnd": "2024-11-26T00:30:00.4234019-05:00", "DateQuittance": "2024-11-26T00:30:00.4234019-05:00" }, { "$type": "CWI.Models.DTO_DC1Adhesion, CWI.Models", "IdClient": 1, "IdAdhesion": 2, "IdAdhesionString": "sample string 3", "NameClient": "sample string 4", "PostalCodeClient": "sample string 5", "ProductName": "sample string 6", "UMR": "sample string 7", "PrgCode": "sample string 8", "PrgLibelle": "sample string 9", "PrgTemplateMandat": "sample string 10", "IMEI": "sample string 11", "DateAchatAdh": "2024-11-26T00:30:00.4234019-05:00", "DateSaisieAdh": "2024-11-26T00:30:00.4234019-05:00", "NamePrescripteur": "sample string 12", "Etat": "sample string 13", "IsActive": 1, "TelNumber": "sample string 14", "Statut": "sample string 15", "DateNaissance": "2024-11-26T00:30:00.4234019-05:00", "IdEnf": 1, "EnfName": "sample string 16", "EnfSurname": "sample string 17", "EmailConsentement": true, "EnfBirthday": "2024-11-26T00:30:00.4234019-05:00", "Price": 18.0, "FFR_Code": "sample string 19", "DateResilClient": "2024-11-26T00:30:00.4234019-05:00", "DateResilCWI": "2024-11-26T00:30:00.4234019-05:00", "DateRetractation": "2024-11-26T00:30:00.4234019-05:00", "NumContrat": "sample string 20", "DateReception": "2024-11-26T00:30:00.4234019-05:00", "IdAdhesionMaitre": 1, "DateAnnulation": "2024-11-26T00:30:00.4234019-05:00", "DateSuspension": "2024-11-26T00:30:00.4234019-05:00", "DateAnomalie": "2024-11-26T00:30:00.4234019-05:00", "DateIncident": "2024-11-26T00:30:00.4234019-05:00", "DateEffet": "2024-11-26T00:30:00.4234019-05:00", "DateMigration": "2024-11-26T00:30:00.4234019-05:00", "DateCreation": "2024-11-26T00:30:00.4234019-05:00", "TypeFormule": "sample string 21", "RetentionIsActive": true, "RetentionDateStart": "2024-11-26T00:30:00.4234019-05:00", "RetentionDateEnd": "2024-11-26T00:30:00.4234019-05:00", "DateQuittance": "2024-11-26T00:30:00.4234019-05:00" } ] }, "IdLink": 1 }, "CustomerList": { "$type": "System.Collections.Generic.List`1[[CWI.Models.CustomerResponse, CWI.Models]], mscorlib", "$values": [ { "$type": "CWI.Models.CustomerResponse, CWI.Models", "Id": 1, "Contractor": { "$type": "CWI.Models.DTO_Contractor, CWI.Models", "Civility": "sample string 1", "FirstName": "sample string 2", "LastName": "sample string 3", "BirthDate": "2024-11-26T00:30:00.4234019-05:00", "BirthPlace": "sample string 4", "BirthCountryId": 1, "NationalityId": 1, "Nationality": "sample string 5", "BirthCountry": "sample string 6" }, "Address": { "$type": "CWI.Models.DTO_Address, CWI.Models", "Line1": "sample string 1", "Line2": "sample string 2", "Supplement": "sample string 3", "PostalCode": "sample string 4", "Town": "sample string 5" }, "Contact": { "$type": "CWI.Models.DTO_Contact, CWI.Models", "Phone": "sample string 1", "Mobile": "sample string 2", "Mail": "sample string 3" }, "ModeDefault": "sample string 1", "Account": { "$type": "CWI.Models.DTO_Account, CWI.Models", "BankCode": "sample string 1", "CounterCode": "sample string 2", "AccountNumber": "sample string 3", "RibKey": "sample string 4", "Owner": "sample string 5", "Iban": { "$type": "System.Byte[], mscorlib", "$value": "QEA=" } } }, { "$type": "CWI.Models.CustomerResponse, CWI.Models", "Id": 1, "Contractor": { "$type": "CWI.Models.DTO_Contractor, CWI.Models", "Civility": "sample string 1", "FirstName": "sample string 2", "LastName": "sample string 3", "BirthDate": "2024-11-26T00:30:00.4234019-05:00", "BirthPlace": "sample string 4", "BirthCountryId": 1, "NationalityId": 1, "Nationality": "sample string 5", "BirthCountry": "sample string 6" }, "Address": { "$type": "CWI.Models.DTO_Address, CWI.Models", "Line1": "sample string 1", "Line2": "sample string 2", "Supplement": "sample string 3", "PostalCode": "sample string 4", "Town": "sample string 5" }, "Contact": { "$type": "CWI.Models.DTO_Contact, CWI.Models", "Phone": "sample string 1", "Mobile": "sample string 2", "Mail": "sample string 3" }, "ModeDefault": "sample string 1", "Account": { "$type": "CWI.Models.DTO_Account, CWI.Models", "BankCode": "sample string 1", "CounterCode": "sample string 2", "AccountNumber": "sample string 3", "RibKey": "sample string 4", "Owner": "sample string 5", "Iban": { "$type": "System.Byte[], mscorlib", "$value": "QEA=" } } } ] }, "EffectiveDate": "2024-11-26T00:30:00.4234019-05:00" }