# Sample WIPO ST.96 REST Web Service API documentation version 1.0

http://wipo.int/api/v1

API definitions for ST.96 web services (last update: 29/06/2018).

### /patents

#### /patents get

get

Retrieve a collection of Patent Publications

#### get /patents

Retrieve a collection of Patent Publications

### Query Parameters

- appIPOfficeCode: (one of AD, AE, AF, AG, AI, AL, AM, AN, AO, AP, AR, AT, AU, AW, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BM, BN, BO, BR, BS, BT, BV, BW, BX, BY, BZ, CA, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CY, CZ, DE, DJ, DK, DM, DO, DZ, EA, EC, EE, EG, EH, EM, EP, ER, ES, ET, FI, FJ, FK, FO, FR, GA, GB, GC, GD, GE, GG, GH, GI, GL, GM, GN, GQ, GR, GS, GT, GW, GY, HK, HN, HR, HT, HU, IB, ID, IE, IL, IM, IN, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MG, MK, ML, MM, MN, MO, MP, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NE, NG, NI, NL, NO, NP, NR, NZ, OA, OM, PA, PE, PG, PH, PK, PL, PT, PW, PY, QA, QZ, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SK, SL, SM, SN, SO, SR, ST, SV, SY, SZ, TC, TD, TG, TH, TJ, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, US, UY, UZ, VA, VC, VE, VG, VN, VU, WO, WS, XN, YE, ZA, ZM, ZW, CS, DL, DD, DT, SU, YD, YU, UK, ZZ)

  Two-letter alphabetic codes which represent the names of states, other entities and intergovernmental organizations the legislation of which provides for the protection of IP rights or which organizations are acting in the framework of a treaty in the field of IP. For more information, see http://www.wipo.int/standards/XMLSchema/ST96/V3_0/Common/IPOfficeCode.xsd.

- appNumber: (string)

  Numbers used by IPOs in order to identify each application received. For more information, see http://www.wipo.int/standards/XMLSchema/ST96/V3_0/Common/ApplicationNumber.xsd.

- appFillingDate: (date-only)

  The date assigned by the Patent Office that identifies when an application meets certain criteria to qualify as having been filed. For more information, see http://www.wipo.int/standards/XMLSchema/ST96/V3_0/Patent/FilingDate.xsd.

- limit: (number - default: 50)

  Number of items to return

  Example:

      100

- offset: (number - default: 0)

  Number of items to skip

  Example:

      10

- orderBy: (string - default: asc)

  Order by a mutli-attribute sorting criterion. Order direction should be specified for each attribute. If not specified the default order direction is asc.

  Example:

      appFillingDate desc, appIPOfficeCode asc

- count: (boolean)

  Number of elements of the collection. If count=true and pagination used, it will return inline in the response the total number of results.

  Example:

      true

## HTTP status code 200

Successful request execution

### Body

Media type: application/xml

Type:

    <?xml version="1.0" encoding="UTF-8"?>
    <!-- edited with XMLSpy v2015 rel. 4 (x64) (http://www.altova.com) by null (SWORD TECHNOLOGIES SA) -->
    <xsd:schema xmlns="http://www.wipo.int/standards/XMLSchema/M2M" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.wipo.int/standards/XMLSchema/M2M" elementFormDefault="qualified" attributeFormDefault="qualified" version="V1_0">

    	<xsd:include schemaLocation="Count.xsd"/>
    	<xsd:include schemaLocation="PatentPublicationBag.xsd"/>

    	<xsd:element name="PatentPublicationResponse">
    		<xsd:annotation>
    			<xsd:documentation>Response of /patents endpoint. Either number of patents found or collection of patents (if paginaged then the page info is also returned).</xsd:documentation>
    		</xsd:annotation>
    		<xsd:complexType>
    			<xsd:sequence>
    					<xsd:element ref="PatentPublicationBag" minOccurs="0"/>
    					<xsd:element ref="Count" minOccurs="0"/>
    			</xsd:sequence>
    		</xsd:complexType>
    	</xsd:element>
    </xsd:schema>

Examples:

Returning all patents; /patents:

    <?xml version="1.0" encoding="UTF-8"?>
    <!--Sample XML file generated by XMLSpy v2015 rel. 4 (x64) (http://www.altova.com)-->
    <m2m:PatentPublicationResponse xmlns="http://www.wipo.int/standards/XMLSchema/ST96/Patent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m2m="http://www.wipo.int/standards/XMLSchema/M2M" xmlns:com="http://www.wipo.int/standards/XMLSchema/ST96/Common" xmlns:pat="http://www.wipo.int/standards/XMLSchema/ST96/Patent" xsi:schemaLocation="http://www.wipo.int/standards/XMLSchema/M2M PatentPublicationResponse.xsd">
    	<m2m:PatentPublicationBag>
    		<PatentPublication com:id="ID1" com:languageCode="et" com:documentFileName="String" com:creationDate="1957-08-13" com:documentStatusText="String" com:st96Version="V3_0" com:ipoVersion="token" com:documentPublicationDate="1957-08-13">
    			<com:IPOfficeCode>CO</com:IPOfficeCode>
    			<BibliographicData com:id="ID2" com:officeCode="QZ" com:st96Version="V3_0" com:ipoVersion="token">
    				<ApplicationIdentification com:id="ID3">
    					<com:IPOfficeCode>SG</com:IPOfficeCode>
    					<com:ApplicationNumber>
    						<com:ST13ApplicationNumber>000000000000000</com:ST13ApplicationNumber>
    					</com:ApplicationNumber>
    				</ApplicationIdentification>
    				<InventionTitleBag>
    					<InventionTitle com:id="ID4" com:languageCode="te" pat:inventionTitleCategory="In application filed"/>
    					<InventionTitle com:id="ID5" com:languageCode="ht" pat:inventionTitleCategory="In grant publication"/>
    				</InventionTitleBag>
    				<PartyBag com:id="ID6">
    					<ApplicantBag com:id="ID7">
    						<Applicant com:sequenceNumber="String" com:id="ID8">
    							<com:Contact com:languageCode="mk">
    								<com:Name>
    									<com:PersonName com:languageCode="aa">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="km">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="pa">
    								<com:Name>
    									<com:PersonName com:languageCode="ky">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ak">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    						<Applicant com:sequenceNumber="String" com:id="ID9">
    							<com:Contact com:languageCode="kr">
    								<com:Name>
    									<com:PersonName com:languageCode="gn">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="nd">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="no">
    								<com:Name>
    									<com:PersonName com:languageCode="en">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="mr">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    					</ApplicantBag>
    					<ApplicantBag com:id="ID10">
    						<Applicant com:sequenceNumber="String" com:id="ID11">
    							<com:Contact com:languageCode="tl">
    								<com:Name>
    									<com:PersonName com:languageCode="pt">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="rw">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="sm">
    								<com:Name>
    									<com:PersonName com:languageCode="kg">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="da">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    						<Applicant com:sequenceNumber="String" com:id="ID12">
    							<com:Contact com:languageCode="xh">
    								<com:Name>
    									<com:PersonName com:languageCode="sd">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="gv">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="iu">
    								<com:Name>
    									<com:PersonName com:languageCode="tk">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ka">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant_Inventor</ApplicantCategory>
    						</Applicant>
    					</ApplicantBag>
    				</PartyBag>
    			</BibliographicData>
    			<PageImage com:id="ID13" pat:firstPageNumber="String" pat:lastPageNumber="String" com:fileLocationURI="http://www.altova.com/" com:orientationCategory="Portrait">
    				<com:ImageFormatCategory>GIF</com:ImageFormatCategory>
    				<com:FileName>String</com:FileName>
    				<com:HeightMeasure com:measureUnitCode="Pt">0</com:HeightMeasure>
    				<com:WidthMeasure com:measureUnitCode="Tp">0</com:WidthMeasure>
    			</PageImage>
    			<PageImage com:id="ID14" pat:firstPageNumber="String" pat:lastPageNumber="String" com:fileLocationURI="http://www.altova.com/" com:orientationCategory="Portrait">
    				<com:ImageFormatCategory>PNG</com:ImageFormatCategory>
    				<com:FileName>String</com:FileName>
    				<com:HeightMeasure com:measureUnitCode="Px">0</com:HeightMeasure>
    				<com:WidthMeasure com:measureUnitCode="Pt">0</com:WidthMeasure>
    			</PageImage>
    		</PatentPublication>
    		<PatentPublication com:id="ID15" com:languageCode="sw" com:documentFileName="String" com:creationDate="1957-08-13" com:documentStatusText="String" com:st96Version="V3_0" com:ipoVersion="token" com:documentPublicationDate="1957-08-13">
    			<com:IPOfficeCode>YE</com:IPOfficeCode>
    			<BibliographicData com:id="ID16" com:officeCode="SC" com:st96Version="V3_0" com:ipoVersion="token">
    				<ApplicationIdentification com:id="ID17">
    					<com:IPOfficeCode>NL</com:IPOfficeCode>
    					<com:ApplicationNumber>
    						<com:ST13ApplicationNumber>000000000000000</com:ST13ApplicationNumber>
    					</com:ApplicationNumber>
    				</ApplicationIdentification>
    				<InventionTitleBag>
    					<InventionTitle com:id="ID18" com:languageCode="gv" pat:inventionTitleCategory="In application filed"/>
    					<InventionTitle com:id="ID19" com:languageCode="ne" pat:inventionTitleCategory="In application published"/>
    				</InventionTitleBag>
    				<PartyBag com:id="ID20">
    					<ApplicantBag com:id="ID21">
    						<Applicant com:sequenceNumber="String" com:id="ID22">
    							<com:Contact com:languageCode="mr">
    								<com:Name>
    									<com:PersonName com:languageCode="an">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ms">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="os">
    								<com:Name>
    									<com:PersonName com:languageCode="cs">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ku">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    						<Applicant com:sequenceNumber="String" com:id="ID23">
    							<com:Contact com:languageCode="an">
    								<com:Name>
    									<com:PersonName com:languageCode="zu">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ti">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="lo">
    								<com:Name>
    									<com:PersonName com:languageCode="wo">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ak">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    					</ApplicantBag>
    					<ApplicantBag com:id="ID24">
    						<Applicant com:sequenceNumber="String" com:id="ID25">
    							<com:Contact com:languageCode="om">
    								<com:Name>
    									<com:PersonName com:languageCode="ur">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ha">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="ee">
    								<com:Name>
    									<com:PersonName com:languageCode="lv">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="af">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant_Inventor</ApplicantCategory>
    						</Applicant>
    						<Applicant com:sequenceNumber="String" com:id="ID26">
    							<com:Contact com:languageCode="kg">
    								<com:Name>
    									<com:PersonName com:languageCode="ks">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="gv">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="nv">
    								<com:Name>
    									<com:PersonName com:languageCode="ts">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="wa">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant_Inventor</ApplicantCategory>
    						</Applicant>
    					</ApplicantBag>
    				</PartyBag>
    			</BibliographicData>
    			<PageImage com:id="ID27" pat:firstPageNumber="String" pat:lastPageNumber="String" com:fileLocationURI="http://www.altova.com/" com:orientationCategory="Portrait">
    				<com:ImageFormatCategory>GIF</com:ImageFormatCategory>
    				<com:FileName>String</com:FileName>
    				<com:HeightMeasure com:measureUnitCode="Mm">0</com:HeightMeasure>
    				<com:WidthMeasure com:measureUnitCode="Mm">0</com:WidthMeasure>
    			</PageImage>
    			<PageImage com:id="ID28" pat:firstPageNumber="String" pat:lastPageNumber="String" com:fileLocationURI="http://www.altova.com/" com:orientationCategory="Portrait">
    				<com:ImageFormatCategory>TIFF</com:ImageFormatCategory>
    				<com:FileName>String</com:FileName>
    				<com:HeightMeasure com:measureUnitCode="Cm">0</com:HeightMeasure>
    				<com:WidthMeasure com:measureUnitCode="Cm">0</com:WidthMeasure>
    			</PageImage>
    		</PatentPublication>
    		<!-- more PatentPublication tags here -->
    	</m2m:PatentPublicationBag>
    </m2m:PatentPublicationResponse>

Returning all patents with inline number of results; /patents?count=true:

    <?xml version="1.0" encoding="UTF-8"?>
    <!--Sample XML file generated by XMLSpy v2015 rel. 4 (x64) (http://www.altova.com)-->
    <m2m:PatentPublicationResponse xmlns="http://www.wipo.int/standards/XMLSchema/ST96/Patent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m2m="http://www.wipo.int/standards/XMLSchema/M2M" xmlns:com="http://www.wipo.int/standards/XMLSchema/ST96/Common" xmlns:pat="http://www.wipo.int/standards/XMLSchema/ST96/Patent" xsi:schemaLocation="http://www.wipo.int/standards/XMLSchema/M2M PatentPublicationResponse.xsd">
    	<m2m:PatentPublicationBag>
    		<PatentPublication com:id="ID1" com:languageCode="et" com:documentFileName="String" com:creationDate="1957-08-13" com:documentStatusText="String" com:st96Version="V3_0" com:ipoVersion="token" com:documentPublicationDate="1957-08-13">
    			<com:IPOfficeCode>CO</com:IPOfficeCode>
    			<BibliographicData com:id="ID2" com:officeCode="QZ" com:st96Version="V3_0" com:ipoVersion="token">
    				<ApplicationIdentification com:id="ID3">
    					<com:IPOfficeCode>SG</com:IPOfficeCode>
    					<com:ApplicationNumber>
    						<com:ST13ApplicationNumber>000000000000000</com:ST13ApplicationNumber>
    					</com:ApplicationNumber>
    				</ApplicationIdentification>
    				<InventionTitleBag>
    					<InventionTitle com:id="ID4" com:languageCode="te" pat:inventionTitleCategory="In application filed"/>
    					<InventionTitle com:id="ID5" com:languageCode="ht" pat:inventionTitleCategory="In grant publication"/>
    				</InventionTitleBag>
    				<PartyBag com:id="ID6">
    					<ApplicantBag com:id="ID7">
    						<Applicant com:sequenceNumber="String" com:id="ID8">
    							<com:Contact com:languageCode="mk">
    								<com:Name>
    									<com:PersonName com:languageCode="aa">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="km">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="pa">
    								<com:Name>
    									<com:PersonName com:languageCode="ky">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ak">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    						<Applicant com:sequenceNumber="String" com:id="ID9">
    							<com:Contact com:languageCode="kr">
    								<com:Name>
    									<com:PersonName com:languageCode="gn">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="nd">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="no">
    								<com:Name>
    									<com:PersonName com:languageCode="en">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="mr">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    					</ApplicantBag>
    					<ApplicantBag com:id="ID10">
    						<Applicant com:sequenceNumber="String" com:id="ID11">
    							<com:Contact com:languageCode="tl">
    								<com:Name>
    									<com:PersonName com:languageCode="pt">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="rw">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="sm">
    								<com:Name>
    									<com:PersonName com:languageCode="kg">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="da">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    						<Applicant com:sequenceNumber="String" com:id="ID12">
    							<com:Contact com:languageCode="xh">
    								<com:Name>
    									<com:PersonName com:languageCode="sd">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="gv">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="iu">
    								<com:Name>
    									<com:PersonName com:languageCode="tk">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ka">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant_Inventor</ApplicantCategory>
    						</Applicant>
    					</ApplicantBag>
    				</PartyBag>
    			</BibliographicData>
    			<PageImage com:id="ID13" pat:firstPageNumber="String" pat:lastPageNumber="String" com:fileLocationURI="http://www.altova.com/" com:orientationCategory="Portrait">
    				<com:ImageFormatCategory>GIF</com:ImageFormatCategory>
    				<com:FileName>String</com:FileName>
    				<com:HeightMeasure com:measureUnitCode="Pt">0</com:HeightMeasure>
    				<com:WidthMeasure com:measureUnitCode="Tp">0</com:WidthMeasure>
    			</PageImage>
    			<PageImage com:id="ID14" pat:firstPageNumber="String" pat:lastPageNumber="String" com:fileLocationURI="http://www.altova.com/" com:orientationCategory="Portrait">
    				<com:ImageFormatCategory>PNG</com:ImageFormatCategory>
    				<com:FileName>String</com:FileName>
    				<com:HeightMeasure com:measureUnitCode="Px">0</com:HeightMeasure>
    				<com:WidthMeasure com:measureUnitCode="Pt">0</com:WidthMeasure>
    			</PageImage>
    		</PatentPublication>
    		<PatentPublication com:id="ID15" com:languageCode="sw" com:documentFileName="String" com:creationDate="1957-08-13" com:documentStatusText="String" com:st96Version="V3_0" com:ipoVersion="token" com:documentPublicationDate="1957-08-13">
    			<com:IPOfficeCode>YE</com:IPOfficeCode>
    			<BibliographicData com:id="ID16" com:officeCode="SC" com:st96Version="V3_0" com:ipoVersion="token">
    				<ApplicationIdentification com:id="ID17">
    					<com:IPOfficeCode>NL</com:IPOfficeCode>
    					<com:ApplicationNumber>
    						<com:ST13ApplicationNumber>000000000000000</com:ST13ApplicationNumber>
    					</com:ApplicationNumber>
    				</ApplicationIdentification>
    				<InventionTitleBag>
    					<InventionTitle com:id="ID18" com:languageCode="gv" pat:inventionTitleCategory="In application filed"/>
    					<InventionTitle com:id="ID19" com:languageCode="ne" pat:inventionTitleCategory="In application published"/>
    				</InventionTitleBag>
    				<PartyBag com:id="ID20">
    					<ApplicantBag com:id="ID21">
    						<Applicant com:sequenceNumber="String" com:id="ID22">
    							<com:Contact com:languageCode="mr">
    								<com:Name>
    									<com:PersonName com:languageCode="an">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ms">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="os">
    								<com:Name>
    									<com:PersonName com:languageCode="cs">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ku">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    						<Applicant com:sequenceNumber="String" com:id="ID23">
    							<com:Contact com:languageCode="an">
    								<com:Name>
    									<com:PersonName com:languageCode="zu">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ti">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="lo">
    								<com:Name>
    									<com:PersonName com:languageCode="wo">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ak">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    					</ApplicantBag>
    					<ApplicantBag com:id="ID24">
    						<Applicant com:sequenceNumber="String" com:id="ID25">
    							<com:Contact com:languageCode="om">
    								<com:Name>
    									<com:PersonName com:languageCode="ur">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ha">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="ee">
    								<com:Name>
    									<com:PersonName com:languageCode="lv">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="af">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant_Inventor</ApplicantCategory>
    						</Applicant>
    						<Applicant com:sequenceNumber="String" com:id="ID26">
    							<com:Contact com:languageCode="kg">
    								<com:Name>
    									<com:PersonName com:languageCode="ks">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="gv">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="nv">
    								<com:Name>
    									<com:PersonName com:languageCode="ts">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="wa">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant_Inventor</ApplicantCategory>
    						</Applicant>
    					</ApplicantBag>
    				</PartyBag>
    			</BibliographicData>
    			<PageImage com:id="ID27" pat:firstPageNumber="String" pat:lastPageNumber="String" com:fileLocationURI="http://www.altova.com/" com:orientationCategory="Portrait">
    				<com:ImageFormatCategory>GIF</com:ImageFormatCategory>
    				<com:FileName>String</com:FileName>
    				<com:HeightMeasure com:measureUnitCode="Mm">0</com:HeightMeasure>
    				<com:WidthMeasure com:measureUnitCode="Mm">0</com:WidthMeasure>
    			</PageImage>
    			<PageImage com:id="ID28" pat:firstPageNumber="String" pat:lastPageNumber="String" com:fileLocationURI="http://www.altova.com/" com:orientationCategory="Portrait">
    				<com:ImageFormatCategory>TIFF</com:ImageFormatCategory>
    				<com:FileName>String</com:FileName>
    				<com:HeightMeasure com:measureUnitCode="Cm">0</com:HeightMeasure>
    				<com:WidthMeasure com:measureUnitCode="Cm">0</com:WidthMeasure>
    			</PageImage>
    		</PatentPublication>
    	</m2m:PatentPublicationBag>
    	<m2m:Count>200</m2m:Count>
    </m2m:PatentPublicationResponse>

Returning a page of patents; /patents?limit=2&offset=100:

    <?xml version="1.0" encoding="UTF-8"?>
    <!--Sample XML file generated by XMLSpy v2015 rel. 4 (x64) (http://www.altova.com)-->
    <m2m:PatentPublicationResponse xmlns="http://www.wipo.int/standards/XMLSchema/ST96/Patent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m2m="http://www.wipo.int/standards/XMLSchema/M2M" xmlns:com="http://www.wipo.int/standards/XMLSchema/ST96/Common" xmlns:pat="http://www.wipo.int/standards/XMLSchema/ST96/Patent" xsi:schemaLocation="http://www.wipo.int/standards/XMLSchema/M2M PatentPublicationResponse.xsd">
    	<m2m:PatentPublicationBag>
    		<PatentPublication com:id="ID1" com:languageCode="et" com:documentFileName="String" com:creationDate="1957-08-13" com:documentStatusText="String" com:st96Version="V3_0" com:ipoVersion="token" com:documentPublicationDate="1957-08-13">
    			<com:IPOfficeCode>CO</com:IPOfficeCode>
    			<BibliographicData com:id="ID2" com:officeCode="QZ" com:st96Version="V3_0" com:ipoVersion="token">
    				<ApplicationIdentification com:id="ID3">
    					<com:IPOfficeCode>SG</com:IPOfficeCode>
    					<com:ApplicationNumber>
    						<com:ST13ApplicationNumber>000000000000000</com:ST13ApplicationNumber>
    					</com:ApplicationNumber>
    				</ApplicationIdentification>
    				<InventionTitleBag>
    					<InventionTitle com:id="ID4" com:languageCode="te" pat:inventionTitleCategory="In application filed"/>
    					<InventionTitle com:id="ID5" com:languageCode="ht" pat:inventionTitleCategory="In grant publication"/>
    				</InventionTitleBag>
    				<PartyBag com:id="ID6">
    					<ApplicantBag com:id="ID7">
    						<Applicant com:sequenceNumber="String" com:id="ID8">
    							<com:Contact com:languageCode="mk">
    								<com:Name>
    									<com:PersonName com:languageCode="aa">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="km">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="pa">
    								<com:Name>
    									<com:PersonName com:languageCode="ky">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ak">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    						<Applicant com:sequenceNumber="String" com:id="ID9">
    							<com:Contact com:languageCode="kr">
    								<com:Name>
    									<com:PersonName com:languageCode="gn">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="nd">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="no">
    								<com:Name>
    									<com:PersonName com:languageCode="en">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="mr">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    					</ApplicantBag>
    					<ApplicantBag com:id="ID10">
    						<Applicant com:sequenceNumber="String" com:id="ID11">
    							<com:Contact com:languageCode="tl">
    								<com:Name>
    									<com:PersonName com:languageCode="pt">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="rw">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="sm">
    								<com:Name>
    									<com:PersonName com:languageCode="kg">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="da">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    						<Applicant com:sequenceNumber="String" com:id="ID12">
    							<com:Contact com:languageCode="xh">
    								<com:Name>
    									<com:PersonName com:languageCode="sd">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="gv">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="iu">
    								<com:Name>
    									<com:PersonName com:languageCode="tk">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ka">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant_Inventor</ApplicantCategory>
    						</Applicant>
    					</ApplicantBag>
    				</PartyBag>
    			</BibliographicData>
    			<PageImage com:id="ID13" pat:firstPageNumber="String" pat:lastPageNumber="String" com:fileLocationURI="http://www.altova.com/" com:orientationCategory="Portrait">
    				<com:ImageFormatCategory>GIF</com:ImageFormatCategory>
    				<com:FileName>String</com:FileName>
    				<com:HeightMeasure com:measureUnitCode="Pt">0</com:HeightMeasure>
    				<com:WidthMeasure com:measureUnitCode="Tp">0</com:WidthMeasure>
    			</PageImage>
    			<PageImage com:id="ID14" pat:firstPageNumber="String" pat:lastPageNumber="String" com:fileLocationURI="http://www.altova.com/" com:orientationCategory="Portrait">
    				<com:ImageFormatCategory>PNG</com:ImageFormatCategory>
    				<com:FileName>String</com:FileName>
    				<com:HeightMeasure com:measureUnitCode="Px">0</com:HeightMeasure>
    				<com:WidthMeasure com:measureUnitCode="Pt">0</com:WidthMeasure>
    			</PageImage>
    		</PatentPublication>
    		<PatentPublication com:id="ID15" com:languageCode="sw" com:documentFileName="String" com:creationDate="1957-08-13" com:documentStatusText="String" com:st96Version="V3_0" com:ipoVersion="token" com:documentPublicationDate="1957-08-13">
    			<com:IPOfficeCode>YE</com:IPOfficeCode>
    			<BibliographicData com:id="ID16" com:officeCode="SC" com:st96Version="V3_0" com:ipoVersion="token">
    				<ApplicationIdentification com:id="ID17">
    					<com:IPOfficeCode>NL</com:IPOfficeCode>
    					<com:ApplicationNumber>
    						<com:ST13ApplicationNumber>000000000000000</com:ST13ApplicationNumber>
    					</com:ApplicationNumber>
    				</ApplicationIdentification>
    				<InventionTitleBag>
    					<InventionTitle com:id="ID18" com:languageCode="gv" pat:inventionTitleCategory="In application filed"/>
    					<InventionTitle com:id="ID19" com:languageCode="ne" pat:inventionTitleCategory="In application published"/>
    				</InventionTitleBag>
    				<PartyBag com:id="ID20">
    					<ApplicantBag com:id="ID21">
    						<Applicant com:sequenceNumber="String" com:id="ID22">
    							<com:Contact com:languageCode="mr">
    								<com:Name>
    									<com:PersonName com:languageCode="an">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ms">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="os">
    								<com:Name>
    									<com:PersonName com:languageCode="cs">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ku">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    						<Applicant com:sequenceNumber="String" com:id="ID23">
    							<com:Contact com:languageCode="an">
    								<com:Name>
    									<com:PersonName com:languageCode="zu">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ti">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="lo">
    								<com:Name>
    									<com:PersonName com:languageCode="wo">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ak">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    					</ApplicantBag>
    					<ApplicantBag com:id="ID24">
    						<Applicant com:sequenceNumber="String" com:id="ID25">
    							<com:Contact com:languageCode="om">
    								<com:Name>
    									<com:PersonName com:languageCode="ur">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ha">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="ee">
    								<com:Name>
    									<com:PersonName com:languageCode="lv">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="af">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant_Inventor</ApplicantCategory>
    						</Applicant>
    						<Applicant com:sequenceNumber="String" com:id="ID26">
    							<com:Contact com:languageCode="kg">
    								<com:Name>
    									<com:PersonName com:languageCode="ks">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="gv">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="nv">
    								<com:Name>
    									<com:PersonName com:languageCode="ts">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="wa">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant_Inventor</ApplicantCategory>
    						</Applicant>
    					</ApplicantBag>
    				</PartyBag>
    			</BibliographicData>
    			<PageImage com:id="ID27" pat:firstPageNumber="String" pat:lastPageNumber="String" com:fileLocationURI="http://www.altova.com/" com:orientationCategory="Portrait">
    				<com:ImageFormatCategory>GIF</com:ImageFormatCategory>
    				<com:FileName>String</com:FileName>
    				<com:HeightMeasure com:measureUnitCode="Mm">0</com:HeightMeasure>
    				<com:WidthMeasure com:measureUnitCode="Mm">0</com:WidthMeasure>
    			</PageImage>
    			<PageImage com:id="ID28" pat:firstPageNumber="String" pat:lastPageNumber="String" com:fileLocationURI="http://www.altova.com/" com:orientationCategory="Portrait">
    				<com:ImageFormatCategory>TIFF</com:ImageFormatCategory>
    				<com:FileName>String</com:FileName>
    				<com:HeightMeasure com:measureUnitCode="Cm">0</com:HeightMeasure>
    				<com:WidthMeasure com:measureUnitCode="Cm">0</com:WidthMeasure>
    			</PageImage>
    		</PatentPublication>
    	</m2m:PatentPublicationBag>
    </m2m:PatentPublicationResponse>

Returning a page of patents with inline total number of results; /patents?limit=2&offset=100&count=true:

    <?xml version="1.0" encoding="UTF-8"?>
    <!--Sample XML file generated by XMLSpy v2015 rel. 4 (x64) (http://www.altova.com)-->
    <m2m:PatentPublicationResponse xmlns="http://www.wipo.int/standards/XMLSchema/ST96/Patent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m2m="http://www.wipo.int/standards/XMLSchema/M2M" xmlns:com="http://www.wipo.int/standards/XMLSchema/ST96/Common" xmlns:pat="http://www.wipo.int/standards/XMLSchema/ST96/Patent" xsi:schemaLocation="http://www.wipo.int/standards/XMLSchema/M2M PatentPublicationResponse.xsd">
    	<m2m:PatentPublicationBag>
    		<PatentPublication com:id="ID1" com:languageCode="et" com:documentFileName="String" com:creationDate="1957-08-13" com:documentStatusText="String" com:st96Version="V3_0" com:ipoVersion="token" com:documentPublicationDate="1957-08-13">
    			<com:IPOfficeCode>CO</com:IPOfficeCode>
    			<BibliographicData com:id="ID2" com:officeCode="QZ" com:st96Version="V3_0" com:ipoVersion="token">
    				<ApplicationIdentification com:id="ID3">
    					<com:IPOfficeCode>SG</com:IPOfficeCode>
    					<com:ApplicationNumber>
    						<com:ST13ApplicationNumber>000000000000000</com:ST13ApplicationNumber>
    					</com:ApplicationNumber>
    				</ApplicationIdentification>
    				<InventionTitleBag>
    					<InventionTitle com:id="ID4" com:languageCode="te" pat:inventionTitleCategory="In application filed"/>
    					<InventionTitle com:id="ID5" com:languageCode="ht" pat:inventionTitleCategory="In grant publication"/>
    				</InventionTitleBag>
    				<PartyBag com:id="ID6">
    					<ApplicantBag com:id="ID7">
    						<Applicant com:sequenceNumber="String" com:id="ID8">
    							<com:Contact com:languageCode="mk">
    								<com:Name>
    									<com:PersonName com:languageCode="aa">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="km">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="pa">
    								<com:Name>
    									<com:PersonName com:languageCode="ky">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ak">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    						<Applicant com:sequenceNumber="String" com:id="ID9">
    							<com:Contact com:languageCode="kr">
    								<com:Name>
    									<com:PersonName com:languageCode="gn">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="nd">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="no">
    								<com:Name>
    									<com:PersonName com:languageCode="en">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="mr">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    					</ApplicantBag>
    					<ApplicantBag com:id="ID10">
    						<Applicant com:sequenceNumber="String" com:id="ID11">
    							<com:Contact com:languageCode="tl">
    								<com:Name>
    									<com:PersonName com:languageCode="pt">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="rw">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="sm">
    								<com:Name>
    									<com:PersonName com:languageCode="kg">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="da">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    						<Applicant com:sequenceNumber="String" com:id="ID12">
    							<com:Contact com:languageCode="xh">
    								<com:Name>
    									<com:PersonName com:languageCode="sd">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="gv">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="iu">
    								<com:Name>
    									<com:PersonName com:languageCode="tk">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ka">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant_Inventor</ApplicantCategory>
    						</Applicant>
    					</ApplicantBag>
    				</PartyBag>
    			</BibliographicData>
    			<PageImage com:id="ID13" pat:firstPageNumber="String" pat:lastPageNumber="String" com:fileLocationURI="http://www.altova.com/" com:orientationCategory="Portrait">
    				<com:ImageFormatCategory>GIF</com:ImageFormatCategory>
    				<com:FileName>String</com:FileName>
    				<com:HeightMeasure com:measureUnitCode="Pt">0</com:HeightMeasure>
    				<com:WidthMeasure com:measureUnitCode="Tp">0</com:WidthMeasure>
    			</PageImage>
    			<PageImage com:id="ID14" pat:firstPageNumber="String" pat:lastPageNumber="String" com:fileLocationURI="http://www.altova.com/" com:orientationCategory="Portrait">
    				<com:ImageFormatCategory>PNG</com:ImageFormatCategory>
    				<com:FileName>String</com:FileName>
    				<com:HeightMeasure com:measureUnitCode="Px">0</com:HeightMeasure>
    				<com:WidthMeasure com:measureUnitCode="Pt">0</com:WidthMeasure>
    			</PageImage>
    		</PatentPublication>
    		<PatentPublication com:id="ID15" com:languageCode="sw" com:documentFileName="String" com:creationDate="1957-08-13" com:documentStatusText="String" com:st96Version="V3_0" com:ipoVersion="token" com:documentPublicationDate="1957-08-13">
    			<com:IPOfficeCode>YE</com:IPOfficeCode>
    			<BibliographicData com:id="ID16" com:officeCode="SC" com:st96Version="V3_0" com:ipoVersion="token">
    				<ApplicationIdentification com:id="ID17">
    					<com:IPOfficeCode>NL</com:IPOfficeCode>
    					<com:ApplicationNumber>
    						<com:ST13ApplicationNumber>000000000000000</com:ST13ApplicationNumber>
    					</com:ApplicationNumber>
    				</ApplicationIdentification>
    				<InventionTitleBag>
    					<InventionTitle com:id="ID18" com:languageCode="gv" pat:inventionTitleCategory="In application filed"/>
    					<InventionTitle com:id="ID19" com:languageCode="ne" pat:inventionTitleCategory="In application published"/>
    				</InventionTitleBag>
    				<PartyBag com:id="ID20">
    					<ApplicantBag com:id="ID21">
    						<Applicant com:sequenceNumber="String" com:id="ID22">
    							<com:Contact com:languageCode="mr">
    								<com:Name>
    									<com:PersonName com:languageCode="an">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ms">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="os">
    								<com:Name>
    									<com:PersonName com:languageCode="cs">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ku">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    						<Applicant com:sequenceNumber="String" com:id="ID23">
    							<com:Contact com:languageCode="an">
    								<com:Name>
    									<com:PersonName com:languageCode="zu">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ti">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="lo">
    								<com:Name>
    									<com:PersonName com:languageCode="wo">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ak">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant</ApplicantCategory>
    						</Applicant>
    					</ApplicantBag>
    					<ApplicantBag com:id="ID24">
    						<Applicant com:sequenceNumber="String" com:id="ID25">
    							<com:Contact com:languageCode="om">
    								<com:Name>
    									<com:PersonName com:languageCode="ur">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="ha">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="ee">
    								<com:Name>
    									<com:PersonName com:languageCode="lv">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="af">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant_Inventor</ApplicantCategory>
    						</Applicant>
    						<Applicant com:sequenceNumber="String" com:id="ID26">
    							<com:Contact com:languageCode="kg">
    								<com:Name>
    									<com:PersonName com:languageCode="ks">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="gv">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<com:Contact com:languageCode="nv">
    								<com:Name>
    									<com:PersonName com:languageCode="ts">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    									<com:PersonName com:languageCode="wa">
    										<com:PersonFullName>String</com:PersonFullName>
    									</com:PersonName>
    								</com:Name>
    							</com:Contact>
    							<ApplicantCategory>Applicant_Inventor</ApplicantCategory>
    						</Applicant>
    					</ApplicantBag>
    				</PartyBag>
    			</BibliographicData>
    			<PageImage com:id="ID27" pat:firstPageNumber="String" pat:lastPageNumber="String" com:fileLocationURI="http://www.altova.com/" com:orientationCategory="Portrait">
    				<com:ImageFormatCategory>GIF</com:ImageFormatCategory>
    				<com:FileName>String</com:FileName>
    				<com:HeightMeasure com:measureUnitCode="Mm">0</com:HeightMeasure>
    				<com:WidthMeasure com:measureUnitCode="Mm">0</com:WidthMeasure>
    			</PageImage>
    			<PageImage com:id="ID28" pat:firstPageNumber="String" pat:lastPageNumber="String" com:fileLocationURI="http://www.altova.com/" com:orientationCategory="Portrait">
    				<com:ImageFormatCategory>TIFF</com:ImageFormatCategory>
    				<com:FileName>String</com:FileName>
    				<com:HeightMeasure com:measureUnitCode="Cm">0</com:HeightMeasure>
    				<com:WidthMeasure com:measureUnitCode="Cm">0</com:WidthMeasure>
    			</PageImage>
    		</PatentPublication>
    	</m2m:PatentPublicationBag>
    	<m2m:Count>200</m2m:Count>
    </m2m:PatentPublicationResponse>

Returning number of patents; /patents?count:

    <?xml version="1.0" encoding="UTF-8"?>
    <!--Sample XML file generated by XMLSpy v2015 rel. 4 (x64) (http://www.altova.com)-->
    <m2m:PatentPublicationResponse xmlns="http://www.wipo.int/standards/XMLSchema/ST96/Patent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m2m="http://www.wipo.int/standards/XMLSchema/M2M" xmlns:com="http://www.wipo.int/standards/XMLSchema/ST96/Common" xmlns:pat="http://www.wipo.int/standards/XMLSchema/ST96/Patent" xsi:schemaLocation="http://www.wipo.int/standards/XMLSchema/M2M PatentPublicationResponse.xsd">
    	<m2m:Count>200</m2m:Count>
    </m2m:PatentPublicationResponse>