<?xml version="1.0" encoding="UTF-8"?>
<!--
     Electronic Court Filing Version 5.01
     Committee Specification 01
     29 September 2023
     Copyright (c) OASIS Open 2023. All Rights Reserved.
     Source: https://docs.oasis-open.org/legalxml-courtfiling/ecf/v5.01/cs01/examples/
     Latest version of narrative specification: https://docs.oasis-open.org/legalxml-courtfiling/ecf/v5.01/ecf-v5.01.html
     TC IPR Statement: https://www.oasis-open.org/committees/legalxml-courtfiling/ipr.php
-->
<!--
	civil-complaint-016-GetDocumentRequest-Exhibit-04.xml

	A request to get/view the complaint and its attached/child exhibit document renditions filed in case CV-2017-010110 in 'Civil Court' (10).

	This xml example is from a series of examples that illustrate a full life cycle sequence use case for a minimalist illustration of  
	Barabara Holmes' Test Case # 300 (Case Initiation Civil Complaint).

	The requester wants both the complaint and the exhibit. As of WD30, the upperbound cardinality for nc:Document was modified from 
	unbounded to at most one. As such, the requester must make two separate document requests: one for the complaint and another for 
	the exhibit.

	This second document request is for the exhibit document.


	Updated for WD30.
	Updated for WD31.
	Updated for WD35 as version 03.
	Updated for WD36 as version 04.

-->
<wrapper:GetDocumentRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:structures="http://release.niem.gov/niem/structures/4.0/" xmlns:nc="http://release.niem.gov/niem/niem-core/4.0/" xmlns:j="http://release.niem.gov/niem/domains/jxdm/6.1/" xmlns:filing="https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0/filing" xmlns:wrapper="https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.01/wrappers" xmlns:payment="https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0/payment" xsi:schemaLocation="https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.01/wrappers ../schema/wrappers.xsd">
	<documentrequest:GetDocumentRequestMessage xmlns:nc="http://release.niem.gov/niem/niem-core/4.0/" xmlns:j="http://release.niem.gov/niem/domains/jxdm/6.1/" xmlns:ecf="https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0/ecf" xmlns:documentrequest="https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0/documentrequest" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0/documentrequest ../schema/documentrequest.xsd">
		<nc:DocumentIdentification>
		<!-- This is the Request Message ID (message metadata). -->
			<nc:IdentificationID>ab1e-1234-56A-AD69</nc:IdentificationID>
			<nc:IdentificationCategoryDescriptionText>messageID</nc:IdentificationCategoryDescriptionText>
			<nc:IdentificationSourceText>FilingAssembly</nc:IdentificationSourceText>
		</nc:DocumentIdentification>
		<!-- Document Submitter is the entity who is making the GetDocumentRequest and is message metadata. -->
		<nc:DocumentSubmitter>
			<!-- This is the person making the document request (i.e. the requester). -->
			<nc:EntityPerson>
				<nc:PersonName>
					<nc:PersonGivenName>Ralph</nc:PersonGivenName>
					<nc:PersonMiddleName>K.</nc:PersonMiddleName>
					<nc:PersonSurName>Williams</nc:PersonSurName>
				</nc:PersonName>
				<ecf:PersonAugmentation>
					<ecf:ParticipantID>
						<nc:IdentificationID>107</nc:IdentificationID>
					</ecf:ParticipantID>
				</ecf:PersonAugmentation>
			</nc:EntityPerson>		
		</nc:DocumentSubmitter>

		<!-- SendingMDELocationID and ServiceInteractionProfileCode are message metadata. -->	
		<ecf:SendingMDELocationID>
			<!-- URL of the requesting MDE; i.e. FAMDE -->
			<nc:IdentificationID>http://example.com/efsp1</nc:IdentificationID>
		</ecf:SendingMDELocationID>
		<ecf:ServiceInteractionProfileCode>urn:oasis:names:tc:legalxml-courtfiling:schema:xsd:WebServicesMessaging-5.0</ecf:ServiceInteractionProfileCode>
		<!-- CaseCourt is a request query parameter but is not contained within DocumentQueryCriteria. -->
		<j:CaseCourt>
			<nc:OrganizationIdentification>
				<nc:IdentificationID>10</nc:IdentificationID>
			</nc:OrganizationIdentification>
			<nc:OrganizationUnitName>Civil Court</nc:OrganizationUnitName>
		</j:CaseCourt>
		<!-- DocumentPostDate is message metadata. -->
		<nc:DocumentPostDate>
			<!-- The date and time of the request -->
			<nc:DateTime>2007-06-06T14:23:44.0Z</nc:DateTime>
		</nc:DocumentPostDate>
		
		<!-- All of the elements below are request query parameters. -->
		<documentrequest:DocumentQueryCriteria>
		
			<!-- Typically, one or the other, but not both CaseTrackingID or CaseNumberText would be used -->
			<ecf:CaseTrackingID>
				<nc:IdentificationID>7876934321007</nc:IdentificationID>
				<nc:IdentificationCategoryDescriptionText>ACME Case Management System</nc:IdentificationCategoryDescriptionText> 
				<nc:IdentificationSourceText>CourtRecord</nc:IdentificationSourceText>
			</ecf:CaseTrackingID>		
			<j:CaseNumberText>CV-2017-010110</j:CaseNumberText>				 			

			<!-- When requesting a document, the document MUST be requested using its CRMDE assigned identifier (i.e. nc:DocumentFileControlID)
				 provided in the NotifyFilingReviewCompleteRequest (see section 6.1.15). Care should be taken to ensure that correct 
				 nc:DocumentFileControlID value has been provided on the request so that the appropriate document renditoin is returned. -->
			<nc:DocumentFileControlID>8690056387761</nc:DocumentFileControlID>
			
		</documentrequest:DocumentQueryCriteria>

	</documentrequest:GetDocumentRequestMessage>
</wrapper:GetDocumentRequest>
