{
  "info": {
    "_postman_id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "Engagifii Training & Accreditation API",
    "description": "Complete collection for Engagifii Training & Accreditation API v1",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://engagifii-trainingandaccreditation.azurewebsites.net",
      "type": "string"
    },
    {
      "key": "tenant_code",
      "value": "YOUR_TENANT_CODE",
      "type": "string"
    },
    {
      "key": "api_version",
      "value": "v1",
      "type": "string"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "tenant-code",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{tenant_code}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "item": [
    {
      "name": "Awards",
      "description": "Manage certifications and professional awards",
      "item": [
        {
          "name": "Get Awards List",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/api/{{api_version}}/Awards/List",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "{{api_version}}",
                "Awards",
                "List"
              ],
              "query": [
                {
                  "key": "selectedDate",
                  "value": "2024-01-15T00:00:00Z",
                  "disabled": true,
                  "description": "Optional date filter"
                }
              ]
            },
            "description": "Retrieve all awards for your organization"
          },
          "response": []
        },
        {
          "name": "Get Award Details",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/api/{{api_version}}/Awards/:id",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "{{api_version}}",
                "Awards",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
                  "description": "Award ID (GUID)"
                }
              ]
            },
            "description": "Get detailed information about a specific award"
          }
        },
        {
          "name": "Create Award",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"New Certification\",\n  \"description\": \"Description of the certification\",\n  \"levelTypeId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"objectTypeId\": \"7ba85f64-5717-4562-b3fc-2c963f66afa8\",\n  \"requirements\": \"Entry requirements\",\n  \"price\": 199.99,\n  \"duration\": \"3 months\",\n  \"isActive\": true,\n  \"allowSelfRegistration\": true,\n  \"requiresApproval\": false,\n  \"tags\": [\n    \"beginner\",\n    \"technical\"\n  ],\n  \"skills\": [\n    \"programming\",\n    \"analysis\"\n  ]\n}"
            },
            "url": {
              "raw": "{{base_url}}/api/{{api_version}}/Awards",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "{{api_version}}",
                "Awards"
              ]
            },
            "description": "Create a new award or certification"
          }
        },
        {
          "name": "Update Award",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Updated Certification Name\",\n  \"description\": \"Updated description\",\n  \"price\": 249.99,\n  \"isActive\": true\n}"
            },
            "url": {
              "raw": "{{base_url}}/api/{{api_version}}/Awards/:id",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "{{api_version}}",
                "Awards",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
                }
              ]
            }
          }
        },
        {
          "name": "Delete Award",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{base_url}}/api/{{api_version}}/Awards/:id",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "{{api_version}}",
                "Awards",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Classes",
      "description": "Class management and scheduling",
      "item": [
        {
          "name": "Get Classes List",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/api/{{api_version}}/Classes/List",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "{{api_version}}",
                "Classes",
                "List"
              ]
            }
          }
        },
        {
          "name": "Create Class",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"New Training Session\",\n  \"courseId\": \"7ba85f64-5717-4562-b3fc-2c963f66afa8\",\n  \"startDate\": \"2024-03-01T09:00:00Z\",\n  \"endDate\": \"2024-03-01T17:00:00Z\",\n  \"locationId\": \"5ca85f64-5717-4562-b3fc-2c963f66afa9\",\n  \"locationType\": \"InPerson\",\n  \"instructorId\": \"8ea85f64-5717-4562-b3fc-2c963f66afa7\",\n  \"capacity\": 25,\n  \"price\": 149.99\n}"
            },
            "url": {
              "raw": "{{base_url}}/api/{{api_version}}/Classes",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "{{api_version}}",
                "Classes"
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Registration",
      "description": "Registration and enrollment management",
      "item": [
        {
          "name": "Class Registration",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"classId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"memberId\": \"9fa85f64-5717-4562-b3fc-2c963f66afa4\",\n  \"registrationType\": \"Regular\",\n  \"paymentMethod\": \"CreditCard\",\n  \"notes\": \"Dietary restrictions: Vegetarian\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/api/{{api_version}}/registration/ClassRegistration",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "{{api_version}}",
                "registration",
                "ClassRegistration"
              ]
            },
            "description": "Register a member for a class"
          }
        },
        {
          "name": "Award Registration",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"awardId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"memberId\": \"9fa85f64-5717-4562-b3fc-2c963f66afa4\",\n  \"justification\": \"Meeting certification requirements\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/api/{{api_version}}/AwardsRegistration/RegisterMember",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "{{api_version}}",
                "AwardsRegistration",
                "RegisterMember"
              ]
            }
          }
        }
      ]
    }
  ]
}