NCIP (CPK, NKP)

Naposledy změněno Martin Mahr 2024/10/21 22:17

NCIP protokol poskytuje rozhraní pro čtení informací o čtenářích, dílech, výpůjčkách a nabízí operace pro základní operace výpůjčního protokolu.

Dokumentace protokolu

PopisOdkaz
Dokumentace standarduhttp://www.ncip.info/uploads/7/1/4/6/7146749/z39-83-1-2012_ncip.pdf
XSD NCIP protokoluhttp://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd
CPK Dokumentacehttp://moravianlibrary.github.io/CPK-standardy/
Minimální požadavky CPK
CPK popis požadavků a odpovědíhttps://docs.google.com/spreadsheets/d/1u1jCYenyQYLnhx7UQ94hL_9DRV8rVxyAt2ZszTn9taU/edit#gid=3
Příklady požadavků / odpovědí

Implementace v Tritiu

NCIP modul je v Tritiu vždy zapnutý a běží na URL adrese:

Testování

Pro účely testování správnosti XML zpráv je možné použít tzv. ozvěnu. Na adrese /ncip/echo je k dispozici služba, která zpracuje příchozí XML zprávu, provede její převod na vnitřní struktury systému Tritius a zase je vrací zpět na výstup. Služba tak vrací zase XML. 

Pro testování komunikace lze použít nástroje:

HTTP komunikace

Pro komunikaci s NCIP serverem je třeba dodržet několik požadavků:

  • Content-Type: 

Hlavička InitiationHeader

Protože systém Tritius je multi-knihovní, je třeba v každém požadavku zadat cílovou knihovnu, které se dotaz týká. Ta se zadává v prvku InitiationHeader jako atribut ToAgencyId, který je součástí každé NCIP služby.

 
<InitiationHeader>
    <!-- Nepovinné -->
    <FromAgencyId>
        <AgencyId>CPK</AgencyId>
    </FromAgencyId>
    
    <ToAgencyId>
        <AgencyId>ULG001</AgencyId>
    </ToAgencyId>
</InitiationHeader>

LookupUser

 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip" ns1:version="http://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd">
    <LookupUser>  
        <InitiationHeader>    
            <ToAgencyId>
                <AgencyId>KOG001</AgencyId>
            </ToAgencyId>
        </InitiationHeader>
        <UserId>
            <AgencyId>Tábor</AgencyId>
            <UserIdentifierType>Institution Id Number</UserIdentifierType>
            <UserIdentifierValue>12345</UserIdentifierValue>
        </UserId>
  
        <UserElementType>Authentication Input</UserElementType>
        <UserElementType>Block Or Trap</UserElementType>
        <UserElementType>Date Of Birth</UserElementType>
        <UserElementType>Name Information</UserElementType>
        <UserElementType>User Address Information</UserElementType>
        <UserElementType>User Language</UserElementType>
        <UserElementType>User Privilege</UserElementType>
        <UserElementType>User Id</UserElementType>
        <UserElementType>Previous User Id</UserElementType>
  
        <LoanedItemsDesired>true</LoanedItemsDesired>
        <RequestedItemsDesired>true</RequestedItemsDesired>
        <UserFiscalAccountDesired>true</UserFiscalAccountDesired>  
    </LookupUser>
</ns1:NCIPMessage>
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip" ns1:version="http://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd">
    <ns1:LookupUser>
        <ns1:InitiationHeader>
            <ns1:FromAgencyId>
                <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">CPK</ns1:AgencyId>
            </ns1:FromAgencyId>
            <ns1:ToAgencyId>
                <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">AAA001</ns1:AgencyId>
            </ns1:ToAgencyId>
        </ns1:InitiationHeader>
        <ns1:UserId>
            <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">AAA001</ns1:AgencyId>
            <ns1:UserIdentifierType ns1:Scheme="http://www.niso.org/ncip/v1_0/imp1/schemes/visibleuseridentifiertype/visibleuseridentifiertype.scm">Institution Id Number</ns1:UserIdentifierType>
            <ns1:UserIdentifierValue>4</ns1:UserIdentifierValue>
        </ns1:UserId>
        <ns1:LoanedItemsDesired />
        <ns1:RequestedItemsDesired />
        <ns1:UserFiscalAccountDesired />
    </ns1:LookupUser>
</ns1:NCIPMessage>
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip" 
                 ns1:version="http://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd"
                 xmlns:ns2="https://ncip.knihovny.cz/ILSDI/ncip/2015/extensions">
    <ns1:LookupUser>
        <ns1:InitiationHeader>
            <ns1:FromAgencyId>
                <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">CPK</ns1:AgencyId>
            </ns1:FromAgencyId>
            <ns1:ToAgencyId>
                <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">KTG001</ns1:AgencyId>
            </ns1:ToAgencyId>
        </ns1:InitiationHeader>
        <ns1:UserId>
            <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">KTG001</ns1:AgencyId>
            <ns1:UserIdentifierType ns1:Scheme="http://www.niso.org/ncip/v1_0/imp1/schemes/visibleuseridentifiertype/visibleuseridentifiertype.scm">
Institution Id Number</ns1:UserIdentifierType>
            <ns1:UserIdentifierValue>4</ns1:UserIdentifierValue>
        </ns1:UserId>
        <ns1:Ext>
   <ns2:HistoryDesired>
    <ns2:Page>1</ns2:Page>
   </ns2:HistoryDesired>
  </ns1:Ext>
    </ns1:LookupUser>
</ns1:NCIPMessage>
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip" ns1:version="http://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd">
    <ns1:LookupUser> 
        <ns1:InitiationHeader>   
            <ns1:FromAgencyId>
                <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">CPK</ns1:AgencyId>
            </ns1:FromAgencyId>
          
            <ns1:ToAgencyId>
                <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">ULG001</ns1:AgencyId>
            </ns1:ToAgencyId>
        </ns1:InitiationHeader>
        <ns1:UserId>
            <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">ULG001</ns1:AgencyId>
            <ns1:UserIdentifierType ns1:Scheme="http://www.niso.org/ncip/v1_0/imp1/schemes/visibleuseridentifiertype/visibleuseridentifiertype.scm">Institution Id Number</ns1:UserIdentifierType>
            <ns1:UserIdentifierValue>11111</ns1:UserIdentifierValue>
        </ns1:UserId>
   
        <ns1:UserElementType>Authentication Input</ns1:UserElementType>
        <ns1:UserElementType>Block Or Trap</ns1:UserElementType>
        <ns1:UserElementType>Date Of Birth</ns1:UserElementType>
        <ns1:UserElementType>Name Information</ns1:UserElementType>
        <ns1:UserElementType>User Address Information</ns1:UserElementType>
        <ns1:UserElementType>User Language</ns1:UserElementType>
        <ns1:UserElementType>User Privilege</ns1:UserElementType>
        <ns1:UserElementType>User Id</ns1:UserElementType>
        <ns1:UserElementType>Previous User Id</ns1:UserElementType>
      
        <ns1:LoanedItemsDesired />
        <ns1:RequestedItemsDesired />
        <ns1:UserFiscalAccountDesired />
    </ns1:LookupUser>
</ns1:NCIPMessage>

Lookup Agency

 
<?xml version="1.0" encoding="UTF-8"?>
<ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip" ns1:version="http://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd">
    <LookupAgency>  
        <InitiationHeader>   
            <ToAgencyId>
                <AgencyId>KOG001</AgencyId>
            </ToAgencyId>
        </InitiationHeader>
        <AgencyId>KOG001</AgencyId>
  
        <AgencyElementType>Agency Address Information</AgencyElementType>
        <AgencyElementType>Organization Name Information</AgencyElementType>
    </LookupAgency>
</ns1:NCIPMessage>

Lookup Item

 
<?xml version="1.0" encoding="UTF-8"?>
<ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip" ns1:version="http://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd">     <LookupItem>

        <InitiationHeader>   
            <ToAgencyId>
                <AgencyId>KOG001</AgencyId>
            </ToAgencyId>
        </InitiationHeader>

        <ItemId>
            <AgencyId>Tábor</AgencyId>
            <ItemIdentifierType>ACCESSION_NUMBER</ItemIdentifierType>
            <ItemIdentifierValue>123</ItemIdentifierValue>
        </ItemId>
  
        <ItemElementType>Circulation Status</ItemElementType>
        <ItemElementType>Hold Queue Length</ItemElementType>
        <ItemElementType>Location</ItemElementType>
    </LookupItem>
</ns1:NCIPMessage>
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip"
             ns1:version="http://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd">
    <ns1:LookupItem>
        <ns1:InitiationHeader>  
            <ns1:ToAgencyId>
                <ns1:AgencyId>TAG001</ns1:AgencyId>
            </ns1:ToAgencyId>
        </ns1:InitiationHeader>
 
        <ns1:ItemId>
            <ns1:AgencyId>TAG001</ns1:AgencyId>
            <ns1:ItemIdentifierType ns1:Scheme="http://www.niso.org/ncip/v1_0/imp1/schemes/visibleitemidentifiertype/visibleitemidentifiertype.scm">Accession Number</ns1:ItemIdentifierType>
            <ns1:ItemIdentifierValue>436668</ns1:ItemIdentifierValue>
        </ns1:ItemId>
   
        <ns1:ItemElementType>Circulation Status</ns1:ItemElementType>
        <ns1:ItemElementType>Hold Queue Length</ns1:ItemElementType>
        <ns1:ItemElementType>Location</ns1:ItemElementType>
    </ns1:LookupItem>
</ns1:NCIPMessage>

Lookup Item Set

 
<NCIPMessage>
    <LookupItemSet>
        <InitiationHeader>  
            <ToAgencyId>
                <AgencyId>KOG001</AgencyId>
            </ToAgencyId>
        </InitiationHeader>
        <BibliographicId>
            <BibliographicItemId>
                <BibliographicItemIdentifier>978-80-86829-91-3</BibliographicItemIdentifier>
                <BibliographicItemIdentifierCode>ISBN</BibliographicItemIdentifierCode>
            </BibliographicItemId>
        </BibliographicId>
    </LookupItemSet>
</NCIPMessage>
 
curl -X POST \
  https://most.tritius.cz/tritius/ncip/ \
  -H 'Content-Type: application/xml' \
  -H 'Postman-Token: 5a5eb1fd-f895-4d48-a6bf-a17170598295' \
  -H 'cache-control: no-cache' \
  -d '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip" ns1:version="http://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd">
    <ns1:LookupItemSet>
        <ns1:InitiationHeader>
            <ns1:FromAgencyId>
                <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">CPK</ns1:AgencyId>
            </ns1:FromAgencyId>
            <ns1:ToAgencyId>
                <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">KHG001</ns1:AgencyId>
            </ns1:ToAgencyId>
        </ns1:InitiationHeader>
        
        <BibliographicId>
            <BibliographicItemId>
                <BibliographicItemIdentifier>55361</BibliographicItemIdentifier>
                <BibliographicItemIdentifierCode>Legal Deposit Number</BibliographicItemIdentifierCode>
            </BibliographicItemId>
        </BibliographicId>
    </ns1:LookupItemSet>
</ns1:NCIPMessage>'
 
curl -X POST https://most.tritius.cz/tritius/ncip/  -H 'Content-Type: application/xml'   -H 'Postman-Token: 5a5eb1fd-f895-4d48-a6bf-a17170598295'   -H 'cache-control: no-cache'   -d '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip" ns1:version="http://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd">    <ns1:LookupItemSet>        <ns1:InitiationHeader>            <ns1:FromAgencyId>                <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">CPK</ns1:AgencyId>            </ns1:FromAgencyId>            <ns1:ToAgencyId>                <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">KHG001</ns1:AgencyId>            </ns1:ToAgencyId>        </ns1:InitiationHeader>                 <BibliographicId>            <BibliographicItemId>                <BibliographicItemIdentifier>55361</BibliographicItemIdentifier>                <BibliographicItemIdentifierCode>Legal Deposit Number</BibliographicItemIdentifierCode>            </BibliographicItemId>        </BibliographicId>    </ns1:LookupItemSet></ns1:NCIPMessage>'
 
curl -X POST  https://tritius.svkul.cz/tritius/ncip/  -H "Content-Type: application/xml"  -H "Postman-Token: 5a5eb1fd-f895-4d48-a6bf-a17170598295"  -H "cache-control: no-cache"  -d "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><ns1:NCIPMessage xmlns:ns1=\"http://www.niso.org/2008/ncip\" ns1:version=\"http://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd\">    <ns1:LookupItemSet>        <ns1:InitiationHeader>            <ns1:FromAgencyId>                <ns1:AgencyId ns1:Scheme=\"http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm\">CPK</ns1:AgencyId>            </ns1:FromAgencyId>            <ns1:ToAgencyId>                <ns1:AgencyId ns1:Scheme=\"http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm\">KHG001</ns1:AgencyId>            </ns1:ToAgencyId>        </ns1:InitiationHeader>                <BibliographicId>            <BibliographicItemId>                <BibliographicItemIdentifier>55361</BibliographicItemIdentifier>                <BibliographicItemIdentifierCode>Legal Deposit Number</BibliographicItemIdentifierCode>            </BibliographicItemId>        </BibliographicId>    </ns1:LookupItemSet></ns1:NCIPMessage>"

Lookup Request

 
<NCIPMessage>
 <LookupRequest>
        <InitiationHeader>   
            <ToAgencyId>
                <AgencyId>KOG001</AgencyId>
            </ToAgencyId>
        </InitiationHeader>
  <RequestId>
   <RequestIdentifierValue>983</RequestIdentifierValue>
  </RequestId>

  <RequestElementType>User Id</RequestElementType>
  <RequestElementType>Request Type</RequestElementType>
  <RequestElementType>Request Scope Type</RequestElementType>
  <RequestElementType>Request Status Type</RequestElementType>
  <RequestElementType>Hold Queue Position</RequestElementType>
  <RequestElementType>Shipping Information</RequestElementType>
  <RequestElementType>Earliest Date Needed</RequestElementType>
  <RequestElementType>Need Before Date</RequestElementType>
  <RequestElementType>Pickup Date</RequestElementType>
  <RequestElementType>Pickup Location</RequestElementType>
  <RequestElementType>Pickup Expiry Date</RequestElementType>
  <RequestElementType>Date Of User Request</RequestElementType>
  <RequestElementType>Date Available</RequestElementType>
  <RequestElementType>Acknowledged Fee Amount</RequestElementType>
  <RequestElementType>Paid Fee Amount</RequestElementType>
 </LookupRequest>
</NCIPMessage>
 
<NCIPMessage>
 <LookupRequest>
        <UserId>
   <AgencyId>SIG001</AgencyId>   
   <UserIdentifierType>Institution Id Number</UserIdentifierType>
   <UserIdentifierValue>1</UserIdentifierValue>
  </UserId>
  <ItemId>
   <AgencyId>SIG001</AgencyId>
   <ItemIdentifierType>Accession Number</ItemIdentifierType>
   <ItemIdentifierValue>1</ItemIdentifierValue>
  </ItemId>
  <RequestType>Hold</RequestType>

  <RequestElementType>User Id</RequestElementType>
  <RequestElementType>Request Type</RequestElementType>
  <RequestElementType>Request Scope Type</RequestElementType>
  <RequestElementType>Request Status Type</RequestElementType>
  <RequestElementType>Hold Queue Position</RequestElementType>
  <RequestElementType>Shipping Information</RequestElementType>
  <RequestElementType>Earliest Date Needed</RequestElementType>
  <RequestElementType>Need Before Date</RequestElementType>
  <RequestElementType>Pickup Date</RequestElementType>
  <RequestElementType>Pickup Location</RequestElementType>
  <RequestElementType>Pickup Expiry Date</RequestElementType>
  <RequestElementType>Date Of User Request</RequestElementType>
  <RequestElementType>Date Available</RequestElementType>
  <RequestElementType>Acknowledged Fee Amount</RequestElementType>
  <RequestElementType>Paid Fee Amount</RequestElementType>
 </LookupRequest>
</NCIPMessage>

Renew Item

 
<NCIPMessage>
 <RenewItem>
        <InitiationHeader>
            <!-- Nepovinné -->
            <FromAgencyId>
                <AgencyId>CPK</AgencyId>
            </FromAgencyId>
    
            <ToAgencyId>
                <AgencyId>KOG001</AgencyId>
            </ToAgencyId>
        </InitiationHeader>
 
        <UserId>
            <UserIdentifierValue>302709</UserIdentifierValue>
        </UserId>
 
        <ItemId>
            <ItemIdentifierValue>2809808</ItemIdentifierValue>
        </ItemId>
 </RenewItem>
</NCIPMessage>
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip" ns1:version="http://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd">
  <ns1:RenewItem>
    <ns1:InitiationHeader>
      <ns1:FromAgencyId>
        <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">CPK</ns1:AgencyId>
      </ns1:FromAgencyId>
      
      <ns1:ToAgencyId>
        <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">AAA001</ns1:AgencyId>
      </ns1:ToAgencyId>
    </ns1:InitiationHeader>
    
 <ns1:UserId>
    <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">AAA001</ns1:AgencyId>
    <ns1:UserIdentifierType ns1:Scheme="http://www.niso.org/ncip/v1_0/imp1/schemes/visibleuseridentifiertype/visibleuseridentifiertype.scm">Institution Id Number</ns1:UserIdentifierType>
    <ns1:UserIdentifierValue>12</ns1:UserIdentifierValue>
    </ns1:UserId>
    
    <ns1:ItemId><ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">AAA001</ns1:AgencyId>
      <ns1:ItemIdentifierType ns1:Scheme="http://www.niso.org/ncip/v1_0/imp1/schemes/visibleitemidentifiertype/visibleitemidentifiertype.scm">Accession Number</ns1:ItemIdentifierType>
      <ns1:ItemIdentifierValue>993550215536</ns1:ItemIdentifierValue>
    </ns1:ItemId>
  </ns1:RenewItem>
</ns1:NCIPMessage>

Request Item

 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip" ns1:version="http://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd">
 <RequestItem>
        <InitiationHeader>
            <ToAgencyId>
                <AgencyId>KOG001</AgencyId>
            </ToAgencyId>
        </InitiationHeader>
 
        <UserId>
            <UserIdentifierValue>45562</UserIdentifierValue>
        </UserId>
 
        <ItemId>
            <ItemIdentifierValue>231070275595</ItemIdentifierValue>
        </ItemId>
 </RequestItem>
</ns1:NCIPMessage>

Cancel Request Item

 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip" ns1:version="http://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd">
 <CancelRequestItem>
        <InitiationHeader>
            <ToAgencyId>
                <AgencyId>AAA001</AgencyId>
            </ToAgencyId>
        </InitiationHeader>
 
        <UserId>
            <UserIdentifierValue>9</UserIdentifierValue>
        </UserId>
 
        <ItemId>
            <ItemIdentifierValue>993550249985</ItemIdentifierValue>
        </ItemId>
 </CancelRequestItem>
</ns1:NCIPMessage>
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip" ns1:version="http://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd">
<ns1:CancelRequestItem>
  <ns1:InitiationHeader>
    <ns1:FromAgencyId>
      <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">CPK</ns1:AgencyId>
    </ns1:FromAgencyId>
    <ns1:ToAgencyId>
      <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">AAA001</ns1:AgencyId>
    </ns1:ToAgencyId>
  </ns1:InitiationHeader>
  
  <ns1:UserId>
    <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">AAA001</ns1:AgencyId>
    <ns1:UserIdentifierType ns1:Scheme="http://www.niso.org/ncip/v1_0/imp1/schemes/visibleuseridentifiertype/visibleuseridentifiertype.scm">Institution Id Number</ns1:UserIdentifierType>
    <ns1:UserIdentifierValue>12</ns1:UserIdentifierValue>
  </ns1:UserId>
  
  <ns1:RequestId>
    <ns1:AgencyId ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/agencyidtype/agencyidtype.scm">AAA001</ns1:AgencyId>
    <ns1:RequestIdentifierType ns1:Scheme="http://www.library.sk/ncip/v2_02/schemes.scm">IDX</ns1:RequestIdentifierType>
    <ns1:RequestIdentifierValue>591</ns1:RequestIdentifierValue>
  </ns1:RequestId>
  
  <ns1:RequestType ns1:Scheme="http://www.niso.org/ncip/v1_0/imp1/schemes/requesttype/requesttype.scm">Estimate</ns1:RequestType>
  <ns1:RequestScopeType ns1:Scheme="http://www.niso.org/ncip/v1_0/imp1/schemes/requestscopetype/requestscopetype.scm">Bibliographic Item</ns1:RequestScopeType>
</ns1:CancelRequestItem>
</ns1:NCIPMessage>

Často kladené dotazy

Zůstaly po převodu identifikátory uživatelů stejné jako v Claviu?

Stručná odpověď je ne. Při převodu z Clavia do Tritia dojde k vytvoření nového jednoznačného identifikátoru čtenáře (ID). Stejně tak to funguje i s jinými systémy mimo Clavius. Původní identifikátor je uložen jako importId. Uživatelské jméno, login, email, heslo atd. samozřejmě zůstávají stejná. 

Chyby nastavení NCIP

Chyba 400 Not allowed

Většinou se jedná o chybné nastavení IIS na serveru jako reverzní proxy. Správce musí nastavit IIS tak, aby neposílal v x-forwarded-for portthumb_up, jinak nefunguje nastavení NCIP_ALLOWED_ADDRESS.

Případně konzultovat s Martinem.