You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The validation service is used to parse, validate and possibly offer suggestions for random publication number formats.

/report/validate/dn

MethodGET  
Path/report/validate/dn  
Parameter ValuesDescription
 @inputString: e.g., EP0700000A publication number with or without kind code

Request I

wget -O- -q \
     --header 'x-user:x' --header 'x-password:y' \
'https://cdws21.ificlaims.com/report/validate/dn?input=EP0700000A2'

 

Response (matched)

{
   "time" : "0.017",
   "status" : "success",
   "content" : {
      "validations" : [
         {
            "suggestions" : [],
            "ucid" : "EP-0700000-A2",
            "input_id" : 7935,
            "formatted_input" : "EP-0700000-A2",
            "published" : "1996-03-06",
            "publication_id" : 21840212,
            "user_input" : "EP0700000A2",
            "input_type" : "dn",
            "title" : "System and method combining a global object identifier with a local object address in a single object pointer",
            "user_id" : 69,
            "matched" : 1
         }
      ],
      "duplicates" : 0,
      "matched" : 1,
      "total" : 1
   }
}

Request II

wget -O- -q \
     --header 'x-user:x' --header 'x-password:y' \
'https://cdws.ificlaims.com/report/validate/dn?input=EP0700000'

Response (with suggestions)

{
   "time" : "0.021",
   "status" : "success",
   "content" : {
      "validations" : [
         {
            "suggestions" : [
               {
                  "published" : "2000-10-04",
                  "ucid" : "EP-0700000-B1",
                  "publication_id" : "21840210",
                  "title" : "System and method combining a global object identifier with a local object address in a single object pointer"
               },
               {
                  "published" : "1996-03-06",
                  "ucid" : "EP-0700000-A2",
                  "publication_id" : "21840212",
                  "title" : "System and method combining a global object identifier with a local object address in a single object pointer"
               },
               {
                  "published" : "1997-01-02",
                  "ucid" : "EP-0700000-A3",
                  "publication_id" : "21840211",
                  "title" : "System and method combining a global object identifier with a local object address in a single object pointer"
               }
            ],
            "input_id" : 7934,
            "formatted_input" : "EP-0700000-XX",
            "user_input" : "EP0700000",
            "input_type" : "dn",
            "user_id" : 69
         }
      ],
      "duplicates" : 0,
      "matched" : 0,
      "total" : 1
   }
}

Response Structure

The response content is a validation structure containing the following members:

MemberDescription
ucidThe CLAIMS Direct unique character identifer
matchedNumber of matches found
duplicatesNumber of duplicates found
totalNumber of validations
input_idUnused
input_typeCurrently unsed, but addition types for application numbers are in development
user_inputThe input parameter
formatted_inputThe intermediate formatted variation of the input parameter.
publication_idUnused
publishedThe date of publication
titleEnglish title, where available, otherwise title in document publication language
suggestions

An array of suggestion objects containing:

  • ucid
  • publicaton_id
  • published
  • title 
  • No labels