Last active
June 16, 2016 14:22
-
-
Save billinghamj/08b377e68c39f1d4b39766b1ceb2b38b to your computer and use it in GitHub Desktop.
Example Policy Batch Files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "id": "46fe8500-52e2-11e5-ab91-9b1a2fe9338e", | |
| "ref": "PWKJCDPA4", | |
| "startDate": "2015-09-04T08:52:31.182Z", | |
| "endDate": "2015-09-04T09:52:31.182Z", | |
| "startLocation": { | |
| "latitude": 51.5116821067071, | |
| "longitude": -0.1326164101313357, | |
| "postcode": "W1D 6LT" | |
| }, | |
| "excess": { | |
| "mandatory": 500, | |
| "voluntary": 0, | |
| "total": 500 | |
| }, | |
| "payment": { | |
| "totalPremium": 583, | |
| "netPremium": 466, | |
| "commission": 117, | |
| "ipt": 35 | |
| }, | |
| "vehicle": { | |
| "vrm": "LB07SEO", | |
| "vin": "WVWZZZ9NZ7Y235732", | |
| "abi": "53574001", | |
| "estimatedValue": 5000 | |
| }, | |
| "policyholder": { | |
| "id": "b4affad1-69f3-4e20-af1e-ee57f3e49eeb", | |
| "firstName": "Benjamin", | |
| "lastName": "Afgq", | |
| "birthDate": "1958-12-02", | |
| "claims": [ | |
| { | |
| "id": "7edc8fd0-324e-11e5-aec2-95555515dd31", | |
| "date": "2012-07-23", | |
| "type": "Collision", | |
| "value": 5000, | |
| "fault": false, | |
| "injury": false | |
| } | |
| ], | |
| "license": { | |
| "dln": "AFGQ9512028BF9UN", | |
| "heldSince": "1978-11-22", | |
| "endorsements": [ | |
| { | |
| "date": "2011-01-01", | |
| "code": "SP50", | |
| "banned": false, | |
| "banPeriod": null | |
| }, | |
| { | |
| "date": "2012-01-01", | |
| "code": "SP50", | |
| "banned": true, | |
| "banPeriod": "P1Y6M" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "4e9ca130-5205-11e5-ab91-9b1a2fe9338e", | |
| "ref": "PQ36QVNCE", | |
| "startDate": "2015-09-03T06:30:44.620Z", | |
| "endDate": "2015-09-03T07:30:44.620Z", | |
| "startLocation": { | |
| "latitude": 51.49292868101177, | |
| "longitude": -0.1905646640809165, | |
| "postcode": "SW5 0PG" | |
| }, | |
| "excess": { | |
| "mandatory": 500, | |
| "voluntary": 0, | |
| "total": 500 | |
| }, | |
| "payment": { | |
| "totalPremium": 583, | |
| "netPremium": 466, | |
| "commission": 117, | |
| "ipt": 35 | |
| }, | |
| "vehicle": { | |
| "vrm": "LB07SEO", | |
| "vin": "WVWZZZ9NZ7Y235732", | |
| "abi": "53574001", | |
| "estimatedValue": 5000 | |
| }, | |
| "policyholder": { | |
| "id": "b4affad1-69f3-4e20-af1e-ee57f3e49eeb", | |
| "firstName": "Benjamin", | |
| "lastName": "Afgq", | |
| "birthDate": "1958-12-02", | |
| "claims": [ | |
| { | |
| "id": "7edc8fd0-324e-11e5-aec2-95555515dd31", | |
| "date": "2012-07-23", | |
| "type": "Collision", | |
| "value": 5000, | |
| "fault": false, | |
| "injury": false | |
| } | |
| ], | |
| "license": { | |
| "dln": "AFGQ9512028BF9UN", | |
| "heldSince": "1978-11-22", | |
| "endorsements": [] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "75370d80-6394-11e5-ab91-9b1a2fe9338e", | |
| "ref": "PQ3S24P22", | |
| "startDate": "2015-09-25T14:48:17.729Z", | |
| "endDate": "2015-09-25T17:48:17.729Z", | |
| "startLocation": { | |
| "latitude": 55.94617407308514, | |
| "longitude": -3.201115792620183, | |
| "postcode": "EH3 9DS" | |
| }, | |
| "excess": { | |
| "mandatory": 500, | |
| "voluntary": 0, | |
| "total": 500 | |
| }, | |
| "payment": { | |
| "totalPremium": 818, | |
| "netPremium": 654, | |
| "commission": 164, | |
| "ipt": 49 | |
| }, | |
| "vehicle": { | |
| "vrm": "LB07SEO", | |
| "vin": "WVWZZZ9NZ7Y235732", | |
| "abi": "53574001", | |
| "estimatedValue": 5000 | |
| }, | |
| "policyholder": { | |
| "id": "b4affad1-69f3-4e20-af1e-ee57f3e49eeb", | |
| "firstName": "Benjamin", | |
| "lastName": "Afgq", | |
| "birthDate": "1958-12-02", | |
| "claims": [ | |
| { | |
| "id": "7edc8fd0-324e-11e5-aec2-95555515dd31", | |
| "date": "2012-07-23", | |
| "type": "Collision", | |
| "value": 5000, | |
| "fault": false, | |
| "injury": false | |
| } | |
| ], | |
| "license": { | |
| "dln": "AFGQ9512028BF9UN", | |
| "heldSince": "1978-11-22", | |
| "endorsements": [] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "a21651b0-5293-11e5-ab91-9b1a2fe9338e", | |
| "ref": "PWKNJGEY4", | |
| "startDate": "2015-09-03T23:29:33.769Z", | |
| "endDate": "2015-09-04T00:29:33.769Z", | |
| "startLocation": { | |
| "latitude": 51.49293802683381, | |
| "longitude": -0.1904208306224927, | |
| "postcode": "SW5 0PG" | |
| }, | |
| "excess": { | |
| "mandatory": 500, | |
| "voluntary": 0, | |
| "total": 500 | |
| }, | |
| "payment": { | |
| "totalPremium": 700, | |
| "netPremium": 560, | |
| "commission": 140, | |
| "ipt": 42 | |
| }, | |
| "vehicle": { | |
| "vrm": "LB07SEO", | |
| "vin": "WVWZZZ9NZ7Y235732", | |
| "abi": "53574001", | |
| "estimatedValue": 5000 | |
| }, | |
| "policyholder": { | |
| "id": "b4affad1-69f3-4e20-af1e-ee57f3e49eeb", | |
| "firstName": "Benjamin", | |
| "lastName": "Afgq", | |
| "birthDate": "1958-12-02", | |
| "claims": [ | |
| { | |
| "id": "7edc8fd0-324e-11e5-aec2-95555515dd31", | |
| "date": "2012-07-23", | |
| "type": "Collision", | |
| "value": 5000, | |
| "fault": false, | |
| "injury": false | |
| } | |
| ], | |
| "license": { | |
| "dln": "AFGQ9512028BF9UN", | |
| "heldSince": "1978-11-22", | |
| "endorsements": [] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "aa2af400-5293-11e5-ab91-9b1a2fe9338e", | |
| "ref": "PW3LYG4ZE", | |
| "startDate": "2015-09-04T00:29:33.769Z", | |
| "endDate": "2015-09-04T01:29:33.769Z", | |
| "startLocation": { | |
| "latitude": 51.4928846341106, | |
| "longitude": -0.1904124487193212, | |
| "postcode": "SW5 0PG" | |
| }, | |
| "excess": { | |
| "mandatory": 500, | |
| "voluntary": 0, | |
| "total": 500 | |
| }, | |
| "payment": { | |
| "totalPremium": 700, | |
| "netPremium": 560, | |
| "commission": 140, | |
| "ipt": 42 | |
| }, | |
| "vehicle": { | |
| "vrm": "LB07SEO", | |
| "vin": "WVWZZZ9NZ7Y235732", | |
| "abi": "53574001", | |
| "estimatedValue": 5000 | |
| }, | |
| "policyholder": { | |
| "id": "b4affad1-69f3-4e20-af1e-ee57f3e49eeb", | |
| "firstName": "Benjamin", | |
| "lastName": "Afgq", | |
| "birthDate": "1958-12-02", | |
| "claims": [ | |
| { | |
| "id": "7edc8fd0-324e-11e5-aec2-95555515dd31", | |
| "date": "2012-07-23", | |
| "type": "Collision", | |
| "value": 5000, | |
| "fault": false, | |
| "injury": false | |
| } | |
| ], | |
| "license": { | |
| "dln": "AFGQ9512028BF9UN", | |
| "heldSince": "1978-11-22", | |
| "endorsements": [] | |
| } | |
| } | |
| } | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <policies> | |
| <policy> | |
| <id>46fe8500-52e2-11e5-ab91-9b1a2fe9338e</id> | |
| <ref>PWKJCDPA4</ref> | |
| <startDate>2015-09-04T08:52:31.182Z</startDate> | |
| <endDate>2015-09-04T09:52:31.182Z</endDate> | |
| <startLocation> | |
| <latitude>51.5116821067071</latitude> | |
| <longitude>-0.1326164101313357</longitude> | |
| <postcode>W1D 6LT</postcode> | |
| </startLocation> | |
| <excess> | |
| <mandatory>500</mandatory> | |
| <voluntary>0</voluntary> | |
| <total>500</total> | |
| </excess> | |
| <payment> | |
| <totalPremium>583</totalPremium> | |
| <netPremium>466</netPremium> | |
| <commission>117</commission> | |
| <ipt>35</ipt> | |
| </payment> | |
| <vehicle> | |
| <vrm>LB07SEO</vrm> | |
| <vin>WVWZZZ9NZ7Y235732</vin> | |
| <abi>53574001</abi> | |
| <estimatedValue>5000</estimatedValue> | |
| </vehicle> | |
| <policyholder> | |
| <id>b4affad1-69f3-4e20-af1e-ee57f3e49eeb</id> | |
| <firstName>Benjamin</firstName> | |
| <lastName>Afgq</lastName> | |
| <birthDate>1958-12-02</birthDate> | |
| <claims> | |
| <claim> | |
| <id>7edc8fd0-324e-11e5-aec2-95555515dd31</id> | |
| <date>2012-07-23</date> | |
| <type>Collision</type> | |
| <value>5000</value> | |
| <fault>false</fault> | |
| <injury>false</injury> | |
| </claim> | |
| </claims> | |
| <license> | |
| <dln>AFGQ9512028BF9UN</dln> | |
| <heldSince>1978-11-22</heldSince> | |
| <endorsements> | |
| <endorsement> | |
| <date>2011-01-01</date> | |
| <code>SP50</code> | |
| <banned>false</banned> | |
| </endorsement> | |
| <endorsement> | |
| <date>2012-01-01</date> | |
| <code>DD90</code> | |
| <banned>true</banned> | |
| <banPeriod>P1Y6M</banPeriod> | |
| </endorsement> | |
| </endorsements> | |
| </license> | |
| </policyholder> | |
| </policy> | |
| <policy> | |
| <id>4e9ca130-5205-11e5-ab91-9b1a2fe9338e</id> | |
| <ref>PQ36QVNCE</ref> | |
| <startDate>2015-09-03T06:30:44.620Z</startDate> | |
| <endDate>2015-09-03T07:30:44.620Z</endDate> | |
| <startLocation> | |
| <latitude>51.49292868101177</latitude> | |
| <longitude>-0.1905646640809165</longitude> | |
| <postcode>SW5 0PG</postcode> | |
| </startLocation> | |
| <excess> | |
| <mandatory>500</mandatory> | |
| <voluntary>0</voluntary> | |
| <total>500</total> | |
| </excess> | |
| <payment> | |
| <totalPremium>583</totalPremium> | |
| <netPremium>466</netPremium> | |
| <commission>117</commission> | |
| <ipt>35</ipt> | |
| </payment> | |
| <vehicle> | |
| <vrm>LB07SEO</vrm> | |
| <vin>WVWZZZ9NZ7Y235732</vin> | |
| <abi>53574001</abi> | |
| <estimatedValue>5000</estimatedValue> | |
| </vehicle> | |
| <policyholder> | |
| <id>b4affad1-69f3-4e20-af1e-ee57f3e49eeb</id> | |
| <firstName>Benjamin</firstName> | |
| <lastName>Afgq</lastName> | |
| <birthDate>1958-12-02</birthDate> | |
| <claims> | |
| <claim> | |
| <id>7edc8fd0-324e-11e5-aec2-95555515dd31</id> | |
| <date>2012-07-23</date> | |
| <type>Collision</type> | |
| <value>5000</value> | |
| <fault>false</fault> | |
| <injury>false</injury> | |
| </claim> | |
| </claims> | |
| <license> | |
| <dln>AFGQ9512028BF9UN</dln> | |
| <heldSince>1978-11-22</heldSince> | |
| <endorsements> | |
| </endorsements> | |
| </license> | |
| </policyholder> | |
| </policy> | |
| <policy> | |
| <id>75370d80-6394-11e5-ab91-9b1a2fe9338e</id> | |
| <ref>PQ3S24P22</ref> | |
| <startDate>2015-09-25T14:48:17.729Z</startDate> | |
| <endDate>2015-09-25T17:48:17.729Z</endDate> | |
| <startLocation> | |
| <latitude>55.94617407308514</latitude> | |
| <longitude>-3.201115792620183</longitude> | |
| <postcode>EH3 9DS</postcode> | |
| </startLocation> | |
| <excess> | |
| <mandatory>500</mandatory> | |
| <voluntary>0</voluntary> | |
| <total>500</total> | |
| </excess> | |
| <payment> | |
| <totalPremium>818</totalPremium> | |
| <netPremium>654</netPremium> | |
| <commission>164</commission> | |
| <ipt>49</ipt> | |
| </payment> | |
| <vehicle> | |
| <vrm>LB07SEO</vrm> | |
| <vin>WVWZZZ9NZ7Y235732</vin> | |
| <abi>53574001</abi> | |
| <estimatedValue>5000</estimatedValue> | |
| </vehicle> | |
| <policyholder> | |
| <id>b4affad1-69f3-4e20-af1e-ee57f3e49eeb</id> | |
| <firstName>Benjamin</firstName> | |
| <lastName>Afgq</lastName> | |
| <birthDate>1958-12-02</birthDate> | |
| <claims> | |
| <claim> | |
| <id>7edc8fd0-324e-11e5-aec2-95555515dd31</id> | |
| <date>2012-07-23</date> | |
| <type>Collision</type> | |
| <value>5000</value> | |
| <fault>false</fault> | |
| <injury>false</injury> | |
| </claim> | |
| </claims> | |
| <license> | |
| <dln>AFGQ9512028BF9UN</dln> | |
| <heldSince>1978-11-22</heldSince> | |
| <endorsements> | |
| </endorsements> | |
| </license> | |
| </policyholder> | |
| </policy> | |
| <policy> | |
| <id>a21651b0-5293-11e5-ab91-9b1a2fe9338e</id> | |
| <ref>PWKNJGEY4</ref> | |
| <startDate>2015-09-03T23:29:33.769Z</startDate> | |
| <endDate>2015-09-04T00:29:33.769Z</endDate> | |
| <startLocation> | |
| <latitude>51.49293802683381</latitude> | |
| <longitude>-0.1904208306224927</longitude> | |
| <postcode>SW5 0PG</postcode> | |
| </startLocation> | |
| <excess> | |
| <mandatory>500</mandatory> | |
| <voluntary>0</voluntary> | |
| <total>500</total> | |
| </excess> | |
| <payment> | |
| <totalPremium>700</totalPremium> | |
| <netPremium>560</netPremium> | |
| <commission>140</commission> | |
| <ipt>42</ipt> | |
| </payment> | |
| <vehicle> | |
| <vrm>LB07SEO</vrm> | |
| <vin>WVWZZZ9NZ7Y235732</vin> | |
| <abi>53574001</abi> | |
| <estimatedValue>5000</estimatedValue> | |
| </vehicle> | |
| <policyholder> | |
| <id>b4affad1-69f3-4e20-af1e-ee57f3e49eeb</id> | |
| <firstName>Benjamin</firstName> | |
| <lastName>Afgq</lastName> | |
| <birthDate>1958-12-02</birthDate> | |
| <claims> | |
| <claim> | |
| <id>7edc8fd0-324e-11e5-aec2-95555515dd31</id> | |
| <date>2012-07-23</date> | |
| <type>Collision</type> | |
| <value>5000</value> | |
| <fault>false</fault> | |
| <injury>false</injury> | |
| </claim> | |
| </claims> | |
| <license> | |
| <dln>AFGQ9512028BF9UN</dln> | |
| <heldSince>1978-11-22</heldSince> | |
| <endorsements> | |
| </endorsements> | |
| </license> | |
| </policyholder> | |
| </policy> | |
| <policy> | |
| <id>aa2af400-5293-11e5-ab91-9b1a2fe9338e</id> | |
| <ref>PW3LYG4ZE</ref> | |
| <startDate>2015-09-04T00:29:33.769Z</startDate> | |
| <endDate>2015-09-04T01:29:33.769Z</endDate> | |
| <startLocation> | |
| <latitude>51.4928846341106</latitude> | |
| <longitude>-0.1904124487193212</longitude> | |
| <postcode>SW5 0PG</postcode> | |
| </startLocation> | |
| <excess> | |
| <mandatory>500</mandatory> | |
| <voluntary>0</voluntary> | |
| <total>500</total> | |
| </excess> | |
| <payment> | |
| <totalPremium>700</totalPremium> | |
| <netPremium>560</netPremium> | |
| <commission>140</commission> | |
| <ipt>42</ipt> | |
| </payment> | |
| <vehicle> | |
| <vrm>LB07SEO</vrm> | |
| <vin>WVWZZZ9NZ7Y235732</vin> | |
| <abi>53574001</abi> | |
| <estimatedValue>5000</estimatedValue> | |
| </vehicle> | |
| <policyholder> | |
| <id>b4affad1-69f3-4e20-af1e-ee57f3e49eeb</id> | |
| <firstName>Benjamin</firstName> | |
| <lastName>Afgq</lastName> | |
| <birthDate>1958-12-02</birthDate> | |
| <claims> | |
| <claim> | |
| <id>7edc8fd0-324e-11e5-aec2-95555515dd31</id> | |
| <date>2012-07-23</date> | |
| <type>Collision</type> | |
| <value>5000</value> | |
| <fault>false</fault> | |
| <injury>false</injury> | |
| </claim> | |
| </claims> | |
| <license> | |
| <dln>AFGQ9512028BF9UN</dln> | |
| <heldSince>1978-11-22</heldSince> | |
| <endorsements> | |
| </endorsements> | |
| </license> | |
| </policyholder> | |
| </policy> | |
| </policies> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment