IAF CertSearch
  • IAF CertSearch Technical Instructions
  • File Upload
    • Getting started
    • How it works
    • How to set up
  • FTP Access
    • Getting started
    • How it works
    • How to set up
    • How to test connection
  • API Access
    • Getting started
    • Authentication
    • Requests
    • Responses
    • Errors
    • Accreditation Body APIs
      • Certification API
        • Upload Certification
        • Retrieve all Certifications
        • Retrieve a Certification
    • Certification Body APIs
      • Certification API
        • Upload Certification
        • Retrieve all Certifications
        • Retrieve a Certification
      • Certified Entity API
        • Update Certified Entity Name
        • Update Certified Entity Details
  • Data Mapping
    • Getting started
    • How it works
    • How to set up
    • Country list
  • Field Name Glossary
    • Certification Body Template for Accreditation Body
    • Certification Template for Accreditation Body
    • Certification Template for Certification Body
    • Accreditation Body Acronyms
Powered by GitBook
On this page
  • Content-Type Header
  • Status Codes
  • Pagination
  1. API Access

Responses

Content-Type Header

All responses are returned in JSON format. We specify this by sending the Content-Type header.

Status Codes

Below is a table containing descriptions of the various status codes we currently support against various resources.

Response Code
Description

200

OK

201

Resource Created

202

Accepted

400

Bad Request

401

Unauthorized

404

Resource Not Found

406

Not Acceptable

422

Unprocessable Entity

429

Too Many Requests

500

Internal Server Error

Pagination

When a request is made with a pagination query, the meta data is included in the response to allow for easy traversal of previous, current, first, and last page of the data set.

{
    "data": [
        // Response data 
    ],
    "meta": {
        "total_pages": 100,
        "total_rows": 2000,
        "order": "DESC",
        "order_by": "resource_field",
        "limit": 20,
        "offset": 0,
        "next_key": ""
    }
}
PreviousRequestsNextErrors

Last updated 3 years ago