Last active
August 29, 2015 14:18
-
-
Save shreve/e36d8f0e98b2ce662ed8 to your computer and use it in GitHub Desktop.
Protractor Response with Contacts and Invoices
This file contains 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
{ | |
"CRMDataSet":{ | |
"xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance", | |
"xmlns:xsd":"http://www.w3.org/2001/XMLSchema", | |
"Header":{ | |
"ErrorNumber":null, | |
"ErrorMessage":null | |
}, | |
"Contacts":{ | |
"Item":[ | |
{ | |
"Header":{ | |
"ID":"8119adfa-4fcb-4a88-9946-aadf37082866", | |
"CreationTime":"2013-07-15T17:41:35.13-04:00", | |
"DeletionTime":"0001-01-01T00:00:00", | |
"LastModifiedTime":"2013-07-15T17:42:37.83-04:00", | |
"LastModifiedBy":"Test\\Lei Xu" | |
}, | |
"ID":"8119adfa-4fcb-4a88-9946-aadf37082866", | |
"FileAs":"Alliance Supplier", | |
"Name":{ | |
"Title":"Name", | |
"Prefix":null, | |
"FirstName":null, | |
"MiddleName":null, | |
"LastName":null, | |
"Suffix":null | |
}, | |
"Address":{ | |
"Title":"Home", | |
"Street":null, | |
"City":null, | |
"Province":null, | |
"PostalCode":null, | |
"Country":null | |
}, | |
"Company":"Alliance Supplier", | |
"Phone1Title":"Home", | |
"Phone1":null, | |
"Phone2Title":null, | |
"Phone2":null, | |
"EmailTitle":"Email", | |
"Email":null, | |
"AdditionalURIs":{ | |
"Item":{ | |
"Title":"Email", | |
"Type":"Email", | |
"Address":null | |
} | |
}, | |
"AdditionalPhones":{ | |
"Item":{ | |
"Title":"Home", | |
"Number":null | |
} | |
}, | |
"Note":null, | |
"NoEmail":"false", | |
"NoPostCard":"false" | |
}, | |
] | |
}, | |
"ServiceItems":null, | |
"Invoices":{ | |
"Item":{ | |
"Header":{ | |
"ID":"f8f64f43-6479-4b36-843b-5575eb937a2c", | |
"CreationTime":"2013-07-17T00:11:56.623-04:00", | |
"DeletionTime":"0001-01-01T00:00:00", | |
"LastModifiedTime":"2013-07-17T00:12:23.903-04:00", | |
"LastModifiedBy":"Test\\Lei Xu" | |
}, | |
"ID":"f8f64f43-6479-4b36-843b-5575eb937a2c", | |
"Type":"WorkOrder", | |
"ScheduledTime":"2013-07-17T00:10:00.477-04:00", | |
"PromisedTime":"2013-07-17T18:00:00-04:00", | |
"InvoiceTime":"2013-07-17T00:12:10.617-04:00", | |
"WorkOrderNumber":"903", | |
"InvoiceNumber":"318", | |
"PurchaseOrderNumber":null, | |
"ContactID":"d9c37a34-70ec-4b0f-a235-b22bc37c10c7", | |
"ServiceItemID":"00000000-0000-0000-0000-000000000000", | |
"Technician":"Super Technician", | |
"ServiceAdvisor":"Xu, Lei", | |
"InUsage":"0", | |
"OutUsage":"0", | |
"Note":null, | |
"ServicePackages":{ | |
"Item":{ | |
"Header":{ | |
"ID":"a3e06d2c-50ff-4441-8055-f15c2d694026", | |
"CreationTime":"2013-07-17T00:11:56.65-04:00", | |
"DeletionTime":"0001-01-01T00:00:00", | |
"LastModifiedTime":"2013-07-17T00:12:13.66-04:00", | |
"LastModifiedBy":"Test\\Lei Xu" | |
}, | |
"ID":"a3e06d2c-50ff-4441-8055-f15c2d694026", | |
"Chapter":"Service", | |
"Rank":"1", | |
"Code":null, | |
"Title":"Materials Purchased", | |
"Description":null, | |
"ServicePackageLines":{ | |
"Item":{ | |
"Header":{ | |
"ID":"d7b12721-b3b6-450e-b2bd-e12cc68fb727", | |
"CreationTime":"2013-07-17T00:11:56.677-04:00", | |
"DeletionTime":"0001-01-01T00:00:00", | |
"LastModifiedTime":"2013-07-17T00:12:13.683-04:00", | |
"LastModifiedBy":"Test\\Lei Xu" | |
}, | |
"ID":"d7b12721-b3b6-450e-b2bd-e12cc68fb727", | |
"Rank":"1", | |
"Type":"Labor", | |
"Description":"Labor", | |
"Quantity":"1", | |
"Unit":"Hours", | |
"Price":"100.0000", | |
"PriceUnit":"Hour", | |
"Total":"100.0000", | |
"Discount":"0.0000", | |
"ExtendedTotal":"100.0000", | |
"OtherChargeCode":"H", | |
"Technician":"Test, Payable", | |
"ServiceAdvisor":"Xu, Lei" | |
} | |
}, | |
"ServiceCategory":{ | |
"ID":"9e7a10d0-606f-11d3-b79d-0008c7f3716e", | |
"Rank":"0", | |
"Name":"Lubrication \u0026 Maintenance" | |
}, | |
"WorkOrderID":"f8f64f43-6479-4b36-843b-5575eb937a2c" | |
} | |
}, | |
"DeferredServicePackages":null, | |
"Summary":{ | |
"PartsTotal":"0.0000", | |
"LaborTotal":"100.0000", | |
"SubletTotal":"0.0000", | |
"NetTotal":"100.0000", | |
"OtherCharges":{ | |
"Item":[ | |
{ | |
"ID":"5bc28a49-23ac-418f-83f9-e57f5279b460", | |
"Code":"H", | |
"Name":"Canadian Harmonized Sales Tax", | |
"Value":"13.00" | |
}, | |
{ | |
"ID":"30cd0b13-8fe8-4ffd-a791-5786e9bfa4b7", | |
"Code":"H1", | |
"Name":"Canadian Harmonized Sales Tax Rebate", | |
"Value":"-8.00" | |
} | |
] | |
}, | |
"GrandTotal":"105.0000" | |
}, | |
"OtherChargeCode":"H1", | |
"LocationID":"9e2c9ec7-8e7b-4724-8190-edae181d91eb" | |
} | |
}, | |
"Appointments":null | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment