{
    "info":  {
                 "_postman_id":  "9f3c71a4-2d68-4b5e-9a07-6c81e0f4b3d2",
                 "name":  "OptoSoft REST API (v1)",
                 "description":  "# OptoSoft REST API\n\nOfficial Postman collection for the OptoSoft optical retail API - **85 endpoints** across 8 modules.\n\nFull documentation: https://www.optosoft.in/developers/api\n\n## Quick start\n\n1. Open **Variables** on this collection and set `username` and `password` to your OptoSoft credentials.\n2. Run **01 Authentication \u0026 Account \u003e Login**. Its test script stores the JWT in `{{token}}` automatically.\n3. Every other request inherits Bearer `{{token}}` - just send them.\n4. Set `companyId`, `branchId` and `yearId` from your profile / `List financial years` before running the search endpoints.\n\n## Encrypted identifiers\n\nFields typed as a string id (`customerID`, `salesOrderID`, `itemTypeID`, ...) are **opaque encrypted tokens**, not numbers.\nNever construct one. Read it from an earlier response and echo it back verbatim. The `enc*` variables in this collection\nare placeholders for you to paste real values into as you obtain them.\n\nA few endpoints instead take **numeric** ids - those use the `*IdNum` variables. Each affected request says so in its description.\n\n## Paging\n\nTwo request conventions are in use: `pageNumber`/`pageSize` (orders, receipts, item search) and `fromPage`/`toPage`\n(customers, invoices, doctors, WhatsApp templates).\n\nThe paged RESPONSE envelope is `{ \"Items\": [...], \"Total\": n, \"PageNumber\": 1, \"PageSize\": 25 }` (PascalCase).\n**`POST /api/Invoice/List` is the lone exception** and returns `{ \"TotalRows\": n, \"Data\": [...] }`.\nDo not assume one envelope - key your parser off the endpoint. See https://www.optosoft.in/developers/api#envelopes\nfor all six top-level response shapes.\n\n## Notes on request bodies\n\nBodies are pre-filled with the most-used fields, not every field. Several models are very large\n(ReceiptWithouInvoiceModel has 164 fields, OMFastWizardModel 94) - for those, call the corresponding GET first\nand round-trip the returned object rather than building it from scratch.\n\n## Why some bodies show a JSON warning in the editor\n\nNumeric fields use bare variables, e.g. \"companyID\": {{companyId}} without quotes. Postman substitutes the value\nBEFORE sending, so the request that actually goes out is valid JSON (\"companyID\": 18). Quoting them would send a\nstring where the API expects an int64. The squiggle in the body editor is cosmetic - ignore it.\n\nGenerated from the OptoSoft OpenAPI 3.0 specification, snapshot 2026-07-26.",
                 "schema":  "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
             },
    "auth":  {
                 "type":  "bearer",
                 "bearer":  [
                                {
                                    "key":  "token",
                                    "value":  "{{token}}",
                                    "type":  "string"
                                }
                            ]
             },
    "event":  [
                  {
                      "listen":  "prerequest",
                      "script":  {
                                     "type":  "text/javascript",
                                     "exec":  [
                                                  "// Warn early if the token has not been set yet.",
                                                  "if (!pm.collectionVariables.get(\"token\") \u0026\u0026 pm.request.url.getPath().indexOf(\"/api/Auth/login\") === -1) {",
                                                  "    console.warn(\"OptoSoft: {{token}} is empty - run \\\"Login (get JWT token)\\\" first.\");",
                                                  "}"
                                              ]
                                 }
                  }
              ],
    "variable":  [
                     {
                         "key":  "baseUrl",
                         "value":  "https://api.opto-soft.com",
                         "type":  "string",
                         "description":  "API host. No trailing slash."
                     },
                     {
                         "key":  "username",
                         "value":  "",
                         "type":  "string",
                         "description":  "Your OptoSoft login name."
                     },
                     {
                         "key":  "password",
                         "value":  "",
                         "type":  "string",
                         "description":  "Your OptoSoft password."
                     },
                     {
                         "key":  "token",
                         "value":  "",
                         "type":  "string",
                         "description":  "JWT bearer token. Filled automatically by the Login request."
                     },
                     {
                         "key":  "companyId",
                         "value":  "0",
                         "type":  "string",
                         "description":  "Numeric company (tenant) id."
                     },
                     {
                         "key":  "branchId",
                         "value":  "0",
                         "type":  "string",
                         "description":  "Numeric branch (store) id."
                     },
                     {
                         "key":  "yearId",
                         "value":  "0",
                         "type":  "string",
                         "description":  "Numeric financial year id - see \"List financial years\"."
                     },
                     {
                         "key":  "encCompanyId",
                         "value":  "",
                         "type":  "string",
                         "description":  "Encrypted company id (string form)."
                     },
                     {
                         "key":  "encBranchId",
                         "value":  "",
                         "type":  "string",
                         "description":  "Encrypted branch id."
                     },
                     {
                         "key":  "encYearId",
                         "value":  "",
                         "type":  "string",
                         "description":  "Encrypted financial year id."
                     },
                     {
                         "key":  "encCustomerId",
                         "value":  "",
                         "type":  "string",
                         "description":  "Encrypted customer id, from \"Search customers\"."
                     },
                     {
                         "key":  "encSalesOrderId",
                         "value":  "",
                         "type":  "string",
                         "description":  "Encrypted sales order id, from \"Search sales orders\"."
                     },
                     {
                         "key":  "encItemTypeId",
                         "value":  "",
                         "type":  "string",
                         "description":  "Encrypted item type id, from \"List item types\"."
                     },
                     {
                         "key":  "encCategoryId",
                         "value":  "",
                         "type":  "string",
                         "description":  "Encrypted category id."
                     },
                     {
                         "key":  "encModuleId",
                         "value":  "",
                         "type":  "string",
                         "description":  "Encrypted module id."
                     },
                     {
                         "key":  "encEyeInfoId",
                         "value":  "",
                         "type":  "string",
                         "description":  "Encrypted prescription (eye info) id."
                     },
                     {
                         "key":  "encDoctorId",
                         "value":  "",
                         "type":  "string",
                         "description":  "Encrypted doctor id."
                     },
                     {
                         "key":  "encItemId",
                         "value":  "",
                         "type":  "string",
                         "description":  "Encrypted item id."
                     },
                     {
                         "key":  "encCountryId",
                         "value":  "",
                         "type":  "string",
                         "description":  "Encrypted country id, from \"List countries\"."
                     },
                     {
                         "key":  "encTemplateId",
                         "value":  "",
                         "type":  "string",
                         "description":  "Encrypted WhatsApp template id."
                     },
                     {
                         "key":  "encConfigId",
                         "value":  "",
                         "type":  "string",
                         "description":  "Encrypted WhatsApp configuration id."
                     },
                     {
                         "key":  "customerIdNum",
                         "value":  "0",
                         "type":  "string",
                         "description":  "NUMERIC customer id (only the endpoints that say so)."
                     },
                     {
                         "key":  "salesOrderIdNum",
                         "value":  "0",
                         "type":  "string",
                         "description":  "NUMERIC sales order id (only /items and receipt lookups)."
                     },
                     {
                         "key":  "receiptIdNum",
                         "value":  "0",
                         "type":  "string",
                         "description":  "NUMERIC receipt id."
                     },
                     {
                         "key":  "itemIdNum",
                         "value":  "0",
                         "type":  "string",
                         "description":  "NUMERIC item id for stock lookup."
                     },
                     {
                         "key":  "salesOrderNo",
                         "value":  "",
                         "type":  "string",
                         "description":  "Human-readable order number, e.g. SO/2026/001842."
                     },
                     {
                         "key":  "receiptNo",
                         "value":  "",
                         "type":  "string",
                         "description":  "Human-readable receipt number."
                     },
                     {
                         "key":  "sessionId",
                         "value":  "",
                         "type":  "string",
                         "description":  "Quick Sale cart session key - use a fresh GUID per transaction."
                     },
                     {
                         "key":  "branchLogoFileName",
                         "value":  "logo.png",
                         "type":  "string",
                         "description":  "Logo file name from \"Get branch details\"."
                     }
                 ],
    "item":  [
                 {
                     "name":  "01 Authentication \u0026 Account",
                     "description":  "Get a JWT bearer token, then read the signed-in user profile and working context. **Run \"Login\" first** - it saves the token into the {{token}} collection variable automatically.",
                     "item":  [
                                  {
                                      "name":  "Get my profile",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Account/get-profile",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Account",
                                                                               "get-profile"
                                                                           ]
                                                              },
                                                      "description":  "**POST /api/Account/get-profile**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Account/get-profile",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Account",
                                                                                                            "get-profile"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**POST /api/Account/get-profile**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"Message\": \"Success\",\n  \"Profile\": {\n    \"Name\": \"Vision Optics Pvt Ltd\",\n    \"Address\": \"123 MG Road, Fort\",\n    \"City\": \"Mumbai\",\n    \"MobileNo\": \"9876543210\",\n    \"Email\": \"info@visionoptics.com\",\n    \"PAN\": \"ABCDE1234F\",\n    \"Website\": \"www.visionoptics.com\",\n    \"State\": \"Maharashtra\",\n    \"Country\": \"India\"\n  }\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Account/get-profile",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Account",
                                                                                                            "get-profile"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**POST /api/Account/get-profile**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"No logged in please login to get the access.\""
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Account/get-profile",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Account",
                                                                                                            "get-profile"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**POST /api/Account/get-profile**"
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Company not found for CompanyID: \u003cid\u003e.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Account/get-profile",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Account",
                                                                                                            "get-profile"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**POST /api/Account/get-profile**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"A database error occurred.\""
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Account/get-profile",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Account",
                                                                                                            "get-profile"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**POST /api/Account/get-profile**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"Message\": \"An unexpected error occurred: \u003cerror message\u003e\"\n}"
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Get user working context",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Account/user-details?date=2026-07-26",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Account",
                                                                               "user-details"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "date",
                                                                                    "value":  "2026-07-26",
                                                                                    "description":  "string"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/Account/user-details**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Account/user-details?date=2026-07-26",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Account",
                                                                                                            "user-details"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "date",
                                                                                                                 "value":  "2026-07-26",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Account/user-details**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"UserID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n  \"UserName\": \"john.doe\",\n  \"UserEmail\": \"john.doe@visionoptics.com\",\n  \"YearID\": \"5\",\n  \"CompanyID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\",\n  \"CompanyName\": \"Vision Optics Pvt Ltd\",\n  \"CompanyEmail\": \"info@visionoptics.com\",\n  \"BranchID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4T0M0d01B\",\n  \"BranchName\": \"Main Branch\",\n  \"BranchCity\": \"Mumbai\",\n  \"BranchStateID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\",\n  \"BranchCountryID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5T0M0d01B\",\n  \"BranchLogo\": null\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Account/user-details?date=2026-07-26",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Account",
                                                                                                            "user-details"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "date",
                                                                                                                 "value":  "2026-07-26",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Account/user-details**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Invalid user or session has expired\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Account/user-details?date=2026-07-26",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Account",
                                                                                                            "user-details"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "date",
                                                                                                                 "value":  "2026-07-26",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Account/user-details**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Missing required claims.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Login (get JWT token)",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Auth/login",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Auth",
                                                                               "login"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"userName\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Auth/login**\n\nExchange your OptoSoft username and password for a JWT. The test script on this request saves the token into {{token}}, so every other request in the collection then works without further setup. This is the only request that does not need an existing token.",
                                                      "auth":  {
                                                                   "type":  "noauth"
                                                               }
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Auth/login",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Auth",
                                                                                                            "login"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"userName\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Auth/login**\n\nExchange your OptoSoft username and password for a JWT. The test script on this request saves the token into {{token}}, so every other request in the collection then works without further setup. This is the only request that does not need an existing token.",
                                                                                   "auth":  {
                                                                                                "type":  "noauth"
                                                                                            }
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVSUQiOiJRMlpRZEciLCJCcmFuY2hJRCI6IlEyWlFkSSIsIkNvbXBhbnlJRCI6IlEyWlFkSCIsInllYXJJRCI6IlEyWlFkSiIsIlVOYW1lIjoiam9obi5kb2UiLCJyb2xlIjoiQWRtaW4iLCJleHAiOjE3Mjk2OTYwMDB9.signature\",\n  \"Id\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n  \"UserName\": \"john.doe\",\n  \"UserEmail\": \"john.doe@visionoptics.com\",\n  \"UserRole\": \"Admin\",\n  \"YearId\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TkM0d01B\",\n  \"CompanyID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\",\n  \"CompanyName\": \"Vision Optics Pvt Ltd\",\n  \"CompanyEmail\": \"info@visionoptics.com\",\n  \"BranchID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4T0M0d01B\",\n  \"BranchName\": \"Main Branch\",\n  \"BranchCity\": \"Mumbai\",\n  \"BranchStateID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\",\n  \"BranchCountryID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5T0M0d01B\",\n  \"Logo\": \"https://cdn.example.com/logo/company_logo.png\",\n  \"Signature\": null,\n  \"DashBoardUserSettings\": null,\n  \"MaskCustomerMobileNumber\": false,\n  \"Modules\": [\n    {\n      \"ModuleID\": 1,\n      \"ModuleName\": \"Eyewear\",\n      \"IsActive\": true\n    },\n    {\n      \"ModuleID\": 2,\n      \"ModuleName\": \"Contact Lens\",\n      \"IsActive\": true\n    },\n    {\n      \"ModuleID\": 3,\n      \"ModuleName\": \"Accessories\",\n      \"IsActive\": false\n    }\n  ]\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Auth/login",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Auth",
                                                                                                            "login"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"userName\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Auth/login**\n\nExchange your OptoSoft username and password for a JWT. The test script on this request saves the token into {{token}}, so every other request in the collection then works without further setup. This is the only request that does not need an existing token.",
                                                                                   "auth":  {
                                                                                                "type":  "noauth"
                                                                                            }
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"message\": \"Invalid username or password\"\n}"
                                                       }
                                                   ],
                                      "event":  [
                                                    {
                                                        "listen":  "test",
                                                        "script":  {
                                                                       "type":  "text/javascript",
                                                                       "exec":  [
                                                                                    "// Saves the JWT into the {{token}} collection variable so every other",
                                                                                    "// request in this collection authenticates automatically.",
                                                                                    "if (pm.response.code === 200) {",
                                                                                    "    let t = null;",
                                                                                    "    try {",
                                                                                    "        const j = pm.response.json();",
                                                                                    "        t = j.token || j.Token || j.accessToken || j.access_token ||",
                                                                                    "            (j.data \u0026\u0026 (j.data.token || j.data.Token));",
                                                                                    "    } catch (e) { /* non-JSON response */ }",
                                                                                    "    if (t) {",
                                                                                    "        pm.collectionVariables.set(\"token\", t);",
                                                                                    "        console.log(\"OptoSoft: token saved to {{token}}\");",
                                                                                    "    } else {",
                                                                                    "        console.warn(\"OptoSoft: no token field found - set {{token}} manually.\");",
                                                                                    "    }",
                                                                                    "} else {",
                                                                                    "    console.warn(\"OptoSoft: login returned HTTP \" + pm.response.code);",
                                                                                    "}"
                                                                                ]
                                                                   }
                                                    }
                                                ]
                                  }
                              ]
                 },
                 {
                     "name":  "02 Customers \u0026 Prescriptions",
                     "description":  "Search and upsert customers, detect duplicates, manage optical prescriptions (SPH/CYL/AXIS/ADD/PD) and the referring-doctor master.",
                     "item":  [
                                  {
                                      "name":  "Check duplicate customer",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Customer/check-duplicate",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Customer",
                                                                               "check-duplicate"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Customer/check-duplicate**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/check-duplicate",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "check-duplicate"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/check-duplicate**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"isDuplicate\": true,\n  \"customer\": {\n    \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n    \"CustomerID\": \"CUST-00123\",\n    \"Title\": \"Mr.\",\n    \"FirstName\": \"Rajesh\",\n    \"MiddleName\": \"\",\n    \"LastName\": \"Sharma\",\n    \"Mobile\": \"9876543210\",\n    \"EmailId\": \"rajesh.sharma@email.com\",\n    \"City\": \"Mumbai\",\n    \"Address\": \"123 MG Road\",\n    \"ZipCode\": \"400001\",\n    \"IsActive\": true,\n    \"IsMember\": true,\n    \"MembershipID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\",\n    \"Age\": 35,\n    \"BloodGroup\": \"O+\",\n    \"BirthDate\": \"1989-05-15T00:00:00\",\n    \"LEFT_SphericalWithSign\": \"-1.50\",\n    \"RIGHT_SphericalWithSign\": \"-2.00\",\n    \"RIGHT_CylinderWithSign\": \"-0.75\",\n    \"LEFT_CylinderWithSign\": \"-0.50\",\n    \"LEFT_AxisWithSign\": \"180\",\n    \"RIGHT_AxisWithSign\": \"175\",\n    \"RIGHT_AdditionWithSign\": \"+1.00\",\n    \"LEFT_AdditionWithSign\": \"+1.00\",\n    \"SalesOrderID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5T0M0d01B\"\n  }\n}"
                                                       },
                                                       {
                                                           "name":  "200 OK (200 no duplicate)",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/check-duplicate",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "check-duplicate"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/check-duplicate**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"isDuplicate\": false,\n  \"customer\": null\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/check-duplicate",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "check-duplicate"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/check-duplicate**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/check-duplicate",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "check-duplicate"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/check-duplicate**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Delete prescription",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Customer/delete-prescription",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Customer",
                                                                               "delete-prescription"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"customerEyeInfoID\": \"{{encEyeInfoId}}\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Customer/delete-prescription**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/delete-prescription",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "delete-prescription"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"customerEyeInfoID\": \"{{encEyeInfoId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/delete-prescription**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": true,\n  \"message\": \"Prescription deleted successfully.\"\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/delete-prescription",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "delete-prescription"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"customerEyeInfoID\": \"{{encEyeInfoId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/delete-prescription**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": false,\n  \"message\": \"Prescription ID is required.\"\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/delete-prescription",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "delete-prescription"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"customerEyeInfoID\": \"{{encEyeInfoId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/delete-prescription**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/delete-prescription",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "delete-prescription"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"customerEyeInfoID\": \"{{encEyeInfoId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/delete-prescription**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Get customer detail",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Customer/detail",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Customer",
                                                                               "detail"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Customer/detail**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/detail",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "detail"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/detail**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n  \"BranchID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\",\n  \"CompanyID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4T0M0d01B\",\n  \"CustomerID\": \"CUST-00123\",\n  \"Title\": \"Mr.\",\n  \"FirstName\": \"Rajesh\",\n  \"MiddleName\": \"\",\n  \"LastName\": \"Sharma\",\n  \"IsMarried\": true,\n  \"Reference\": \"Walk-in\",\n  \"BirthDate\": \"1989-05-15T00:00:00\",\n  \"Mobile\": \"9876543210\",\n  \"EmailId\": \"rajesh.sharma@email.com\",\n  \"City\": \"Mumbai\",\n  \"ZipCode\": \"400001\",\n  \"Address\": \"123 MG Road\",\n  \"HouseNumber\": \"A-12\",\n  \"SocietyName\": \"Green Gardens\",\n  \"Street\": \"MG Road\",\n  \"Area\": \"Fort\",\n  \"Landmark\": \"Near Post Office\",\n  \"IsActive\": true,\n  \"NewCustomer\": false,\n  \"IsNRI\": false,\n  \"GSTNO\": null,\n  \"IsStoreCustomer\": false,\n  \"IsMember\": true,\n  \"MembershipID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\",\n  \"Age\": 35,\n  \"BloodGroup\": \"O+\",\n  \"IsBlackList\": false,\n  \"DNDForPromotionalMessage\": false,\n  \"DNDForTransactionalMessage\": false,\n  \"IsForeigner\": false,\n  \"StateID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5T0M0d01B\",\n  \"CountryID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF6TWk0d01B\",\n  \"LEFT_SphericalWithSign\": \"-1.50\",\n  \"RIGHT_SphericalWithSign\": \"-2.00\",\n  \"RIGHT_CylinderWithSign\": \"-0.75\",\n  \"LEFT_CylinderWithSign\": \"-0.50\",\n  \"LEFT_AxisWithSign\": \"180\",\n  \"RIGHT_AxisWithSign\": \"175\",\n  \"RIGHT_AdditionWithSign\": \"+1.00\",\n  \"LEFT_AdditionWithSign\": \"+1.00\",\n  \"LEFTVision\": \"6/6\",\n  \"RIGHTVision\": \"6/9\",\n  \"LEFTVN\": null,\n  \"RIGHTVN\": null,\n  \"RIGHTPD\": \"32\",\n  \"LEFTPD\": \"32\",\n  \"LEFTBC\": null,\n  \"RIGHTBC\": null,\n  \"LEFTDIA\": null,\n  \"RIGHTDIA\": null,\n  \"PrescriptionRemarks\": \"Driving glasses recommended\",\n  \"SalesOrderID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF6T0M0d01B\",\n  \"CreatedDate\": \"2023-06-10T09:15:00\",\n  \"ModifiedDate\": \"2024-01-20T14:30:00\"\n}"
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/detail",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "detail"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/detail**"
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Customer not found.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/detail",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "detail"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/detail**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/detail",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "detail"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/detail**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "List doctors",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Customer/doctor-list",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Customer",
                                                                               "doctor-list"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Customer/doctor-list**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/doctor-list",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "doctor-list"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/doctor-list**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"Items\": [\n    {\n      \"DoctorID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n      \"DoctorName\": \"Dr. Anjali Mehta\",\n      \"Mobile\": \"9876500001\",\n      \"Email\": \"dr.anjali@clinic.com\",\n      \"City\": \"Mumbai\",\n      \"IsActive\": \"true\"\n    }\n  ],\n  \"Total\": 12,\n  \"PageNumber\": 1,\n  \"PageSize\": 20\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/doctor-list",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "doctor-list"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/doctor-list**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/doctor-list",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "doctor-list"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/doctor-list**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "List doctors (paged)",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Customer/doctor-list-page",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Customer",
                                                                               "doctor-list-page"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Customer/doctor-list-page**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/doctor-list-page",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "doctor-list-page"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/doctor-list-page**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"Items\": [\n    {\n      \"DoctorID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n      \"DoctorName\": \"Dr. Anjali Mehta\",\n      \"Mobile\": \"9876500001\",\n      \"Email\": \"dr.anjali@clinic.com\",\n      \"City\": \"Mumbai\",\n      \"IsActive\": \"true\"\n    }\n  ],\n  \"Total\": 12,\n  \"PageNumber\": 1,\n  \"PageSize\": 20\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/doctor-list-page",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "doctor-list-page"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/doctor-list-page**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/doctor-list-page",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "doctor-list-page"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/doctor-list-page**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Get doctor by ID",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Customer/get-doctor/{{encDoctorId}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Customer",
                                                                               "get-doctor",
                                                                               "{{encDoctorId}}"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/Customer/get-doctor/{id}**"
                                                  }
                                  },
                                  {
                                      "name":  "Get prescription (summary)",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Customer/GetPrescription",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Customer",
                                                                               "GetPrescription"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"customerEyeInfoID\": \"{{encEyeInfoId}}\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Customer/GetPrescription**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/GetPrescription",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "GetPrescription"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"customerEyeInfoID\": \"{{encEyeInfoId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/GetPrescription**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"Id\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n  \"CustomerID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\",\n  \"ItemTypeId\": 1,\n  \"TypeID\": 1,\n  \"SpectacleType\": null,\n  \"EyeInfo_DoctorID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\",\n  \"DoctorName\": \"Dr. Anjali Mehta\",\n  \"VisitingDate\": \"2024-01-15T00:00:00\",\n  \"VisitingDateString\": \"15/01/2024\",\n  \"Spherical_Left\": \"-1.50\",\n  \"Cylindrical_Left\": \"-0.50\",\n  \"Axis_Left\": \"180\",\n  \"Addition_Left\": null,\n  \"Vision_Left\": \"6/6\",\n  \"BaseCurve_Left\": null,\n  \"Diameter_Left\": null,\n  \"VN_Left\": null,\n  \"PD_Left\": \"32\",\n  \"Dist_Left\": null,\n  \"Near_Left\": null,\n  \"K1_Left\": null,\n  \"K2_Left\": null,\n  \"WODist_Left\": null,\n  \"WONear_Left\": null,\n  \"PIN_Left\": null,\n  \"IOP_Left\": null,\n  \"Spherical_Right\": \"-2.00\",\n  \"Cylindrical_Right\": \"-0.75\",\n  \"Axis_Right\": \"175\",\n  \"Addition_Right\": null,\n  \"Vision_Right\": \"6/9\",\n  \"BaseCurve_Right\": null,\n  \"Diameter_Right\": null,\n  \"VN_Right\": null,\n  \"PD_Right\": \"32\",\n  \"Dist_Right\": null,\n  \"Near_Right\": null,\n  \"K1_Right\": null,\n  \"K2_Right\": null,\n  \"WODist_Right\": null,\n  \"WONear_Right\": null,\n  \"PIN_Right\": null,\n  \"IOP_Right\": null,\n  \"Remarks\": \"Advised anti-glare coating\",\n  \"IsActive\": true,\n  \"GoToSalesOrder\": false,\n  \"EyeCheckupRecallDate\": \"2024-07-15T00:00:00\",\n  \"IsPrevious\": false\n}"
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/GetPrescription",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "GetPrescription"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"customerEyeInfoID\": \"{{encEyeInfoId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/GetPrescription**"
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Prescription not found.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/GetPrescription",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "GetPrescription"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"customerEyeInfoID\": \"{{encEyeInfoId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/GetPrescription**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/GetPrescription",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "GetPrescription"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"customerEyeInfoID\": \"{{encEyeInfoId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/GetPrescription**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Search customers",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Customer/list",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Customer",
                                                                               "list"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Customer/list**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/list",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "list"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/list**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"Items\": [\n    {\n      \"CustomerID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n      \"Name\": \"Rajesh Sharma\",\n      \"Mobile\": \"9876543210\",\n      \"PhoneNO\": null,\n      \"Email\": \"rajesh.sharma@email.com\",\n      \"City\": \"Mumbai\",\n      \"IsActive\": \"true\",\n      \"CreatedDate\": \"2023-06-10T09:15:00\",\n      \"PrescriptionID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\",\n      \"VisitingDate\": \"15/01/2024\"\n    },\n    {\n      \"CustomerID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3T0M0d01B\",\n      \"Name\": \"Priya Patel\",\n      \"Mobile\": \"9123456780\",\n      \"PhoneNO\": null,\n      \"Email\": \"priya@email.com\",\n      \"City\": \"Pune\",\n      \"IsActive\": \"true\",\n      \"CreatedDate\": \"2024-01-05T11:20:00\",\n      \"PrescriptionID\": null,\n      \"VisitingDate\": null\n    }\n  ],\n  \"Total\": 512,\n  \"PageNumber\": 1,\n  \"PageSize\": 20\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/list",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "list"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/list**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/list",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "list"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/list**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Get prescription (full detail)",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Customer/prescription-full-detail",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Customer",
                                                                               "prescription-full-detail"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"customerEyeInfoID\": \"{{encEyeInfoId}}\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Customer/prescription-full-detail**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/prescription-full-detail",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "prescription-full-detail"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"customerEyeInfoID\": \"{{encEyeInfoId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/prescription-full-detail**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"CustomerID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n  \"FirstName\": \"Rajesh\",\n  \"LastName\": \"Sharma\",\n  \"Mobile\": \"9876543210\",\n  \"EmailID\": \"rajesh.sharma@email.com\",\n  \"City\": \"Mumbai\",\n  \"VisitingDate\": \"2024-01-15T00:00:00\",\n  \"TypeID\": 1,\n  \"Spherical_Left\": \"-1.50\",\n  \"Spherical_Right\": \"-2.00\",\n  \"Cylindrical_Left\": \"-0.50\",\n  \"Cylindrical_Right\": \"-0.75\",\n  \"Axis_Left\": \"180\",\n  \"Axis_Right\": \"175\",\n  \"Addition_Left\": null,\n  \"Addition_Right\": null,\n  \"Vision_Left\": \"6/6\",\n  \"Vision_Right\": \"6/9\",\n  \"VN_Left\": null,\n  \"VN_Right\": null,\n  \"PD_Left\": \"32\",\n  \"PD_Right\": \"32\",\n  \"BaseCurve_Left\": null,\n  \"BaseCurve_Right\": null,\n  \"Diameter_Left\": null,\n  \"Diameter_Right\": null,\n  \"K1_Left\": null,\n  \"K1_Right\": null,\n  \"K2_Left\": null,\n  \"K2_Right\": null,\n  \"PrescriptionRemarks\": \"Advised anti-glare coating\",\n  \"CompanyName\": \"Vision Optics Pvt Ltd\",\n  \"CompanyAddress\": \"123 MG Road, Fort, Mumbai\",\n  \"CompanyEmailID\": \"info@visionoptics.com\",\n  \"CompanyMobile\": \"9876543210\",\n  \"BranchName\": \"Main Branch\",\n  \"BranchAddress\": \"123 MG Road\",\n  \"BranchEmail\": \"main@visionoptics.com\",\n  \"BranchMoile\": \"9876500000\",\n  \"DoctorID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5T0M0d01B\"\n}"
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/prescription-full-detail",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "prescription-full-detail"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"customerEyeInfoID\": \"{{encEyeInfoId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/prescription-full-detail**"
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Prescription not found.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/prescription-full-detail",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "prescription-full-detail"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"customerEyeInfoID\": \"{{encEyeInfoId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/prescription-full-detail**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/prescription-full-detail",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "prescription-full-detail"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"customerEyeInfoID\": \"{{encEyeInfoId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/prescription-full-detail**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "List prescriptions",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Customer/prescription-list",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Customer",
                                                                               "prescription-list"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Customer/prescription-list**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/prescription-list",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "prescription-list"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/prescription-list**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"Items\": [\n    {\n      \"Id\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n      \"CustomerID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\",\n      \"TypeID\": 1,\n      \"DoctorName\": \"Dr. Anjali Mehta\",\n      \"VisitingDate\": \"2024-01-15T00:00:00\",\n      \"VisitingDateString\": \"15/01/2024\",\n      \"Spherical_Left\": \"-1.50\",\n      \"Cylindrical_Left\": \"-0.50\",\n      \"Axis_Left\": \"180\",\n      \"Addition_Left\": null,\n      \"Vision_Left\": \"6/6\",\n      \"Spherical_Right\": \"-2.00\",\n      \"Cylindrical_Right\": \"-0.75\",\n      \"Axis_Right\": \"175\",\n      \"Addition_Right\": null,\n      \"Vision_Right\": \"6/9\",\n      \"Remarks\": \"Advised anti-glare coating\",\n      \"IsActive\": true\n    }\n  ],\n  \"Total\": 5,\n  \"PageNumber\": 1,\n  \"PageSize\": 10\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/prescription-list",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "prescription-list"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/prescription-list**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/prescription-list",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "prescription-list"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"phoneNO\": \"\",\n  \"email\": \"\",\n  \"city\": \"\",\n  \"isActive\": \"\",\n  \"orderBy\": \"\",\n  \"customerSourceStringID\": \"\",\n  \"typeID\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/prescription-list**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Create or update doctor",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Customer/save-doctor",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Customer",
                                                                               "save-doctor"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"id\": \"\",\n  \"name\": \"\",\n  \"mobile\": \"\",\n  \"email\": \"\",\n  \"address\": \"\",\n  \"city\": \"\",\n  \"stateID\": \"\",\n  \"countryID\": \"\",\n  \"zipCode\": \"\",\n  \"remarks\": \"\",\n  \"isActive\": false\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Customer/save-doctor**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/save-doctor",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "save-doctor"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"id\": \"\",\n  \"name\": \"\",\n  \"mobile\": \"\",\n  \"email\": \"\",\n  \"address\": \"\",\n  \"city\": \"\",\n  \"stateID\": \"\",\n  \"countryID\": \"\",\n  \"zipCode\": \"\",\n  \"remarks\": \"\",\n  \"isActive\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/save-doctor**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n  \"Name\": \"Dr. Anjali Mehta\",\n  \"Mobile\": \"9876500001\",\n  \"Email\": \"dr.anjali@clinic.com\",\n  \"Address\": \"Clinic Road\",\n  \"City\": \"Mumbai\",\n  \"StateID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\",\n  \"CountryID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5T0M0d01B\",\n  \"ZipCode\": \"400001\",\n  \"Remarks\": null,\n  \"IsActive\": true\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/save-doctor",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "save-doctor"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"id\": \"\",\n  \"name\": \"\",\n  \"mobile\": \"\",\n  \"email\": \"\",\n  \"address\": \"\",\n  \"city\": \"\",\n  \"stateID\": \"\",\n  \"countryID\": \"\",\n  \"zipCode\": \"\",\n  \"remarks\": \"\",\n  \"isActive\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/save-doctor**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Doctor name is required.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/save-doctor",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "save-doctor"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"id\": \"\",\n  \"name\": \"\",\n  \"mobile\": \"\",\n  \"email\": \"\",\n  \"address\": \"\",\n  \"city\": \"\",\n  \"stateID\": \"\",\n  \"countryID\": \"\",\n  \"zipCode\": \"\",\n  \"remarks\": \"\",\n  \"isActive\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/save-doctor**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/save-doctor",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "save-doctor"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"id\": \"\",\n  \"name\": \"\",\n  \"mobile\": \"\",\n  \"email\": \"\",\n  \"address\": \"\",\n  \"city\": \"\",\n  \"stateID\": \"\",\n  \"countryID\": \"\",\n  \"zipCode\": \"\",\n  \"remarks\": \"\",\n  \"isActive\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/save-doctor**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Save prescription",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Customer/save-prescription",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Customer",
                                                                               "save-prescription"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"id\": \"\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"email\": \"\",\n  \"birthDate\": \"2026-07-26\",\n  \"genderID\": \"\",\n  \"houseNO\": \"\",\n  \"societyName\": \"\",\n  \"street\": \"\",\n  \"area\": \"\",\n  \"city\": \"\",\n  \"sourceID\": \"\",\n  \"doctorID\": \"{{encDoctorId}}\",\n  \"presripionTypeID\": \"\",\n  \"visitingDate\": \"2026-07-26\",\n  \"prescriptionList\": [],\n  \"prescriptionRemarks\": \"\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Customer/save-prescription**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/save-prescription",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "save-prescription"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"id\": \"\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"email\": \"\",\n  \"birthDate\": \"2026-07-26\",\n  \"genderID\": \"\",\n  \"houseNO\": \"\",\n  \"societyName\": \"\",\n  \"street\": \"\",\n  \"area\": \"\",\n  \"city\": \"\",\n  \"sourceID\": \"\",\n  \"doctorID\": \"{{encDoctorId}}\",\n  \"presripionTypeID\": \"\",\n  \"visitingDate\": \"2026-07-26\",\n  \"prescriptionList\": [],\n  \"prescriptionRemarks\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/save-prescription**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"Message\": \"Prescription saved successfully.\",\n  \"CustomerID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n  \"EyeInfoID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\"\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/save-prescription",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "save-prescription"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"id\": \"\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"email\": \"\",\n  \"birthDate\": \"2026-07-26\",\n  \"genderID\": \"\",\n  \"houseNO\": \"\",\n  \"societyName\": \"\",\n  \"street\": \"\",\n  \"area\": \"\",\n  \"city\": \"\",\n  \"sourceID\": \"\",\n  \"doctorID\": \"{{encDoctorId}}\",\n  \"presripionTypeID\": \"\",\n  \"visitingDate\": \"2026-07-26\",\n  \"prescriptionList\": [],\n  \"prescriptionRemarks\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/save-prescription**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Invalid request or missing required fields.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/save-prescription",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "save-prescription"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"id\": \"\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"email\": \"\",\n  \"birthDate\": \"2026-07-26\",\n  \"genderID\": \"\",\n  \"houseNO\": \"\",\n  \"societyName\": \"\",\n  \"street\": \"\",\n  \"area\": \"\",\n  \"city\": \"\",\n  \"sourceID\": \"\",\n  \"doctorID\": \"{{encDoctorId}}\",\n  \"presripionTypeID\": \"\",\n  \"visitingDate\": \"2026-07-26\",\n  \"prescriptionList\": [],\n  \"prescriptionRemarks\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/save-prescription**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/save-prescription",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "save-prescription"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"id\": \"\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"email\": \"\",\n  \"birthDate\": \"2026-07-26\",\n  \"genderID\": \"\",\n  \"houseNO\": \"\",\n  \"societyName\": \"\",\n  \"street\": \"\",\n  \"area\": \"\",\n  \"city\": \"\",\n  \"sourceID\": \"\",\n  \"doctorID\": \"{{encDoctorId}}\",\n  \"presripionTypeID\": \"\",\n  \"visitingDate\": \"2026-07-26\",\n  \"prescriptionList\": [],\n  \"prescriptionRemarks\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/save-prescription**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Create or update customer",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Customer/upsert",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Customer",
                                                                               "upsert"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"companyID\": \"{{encCompanyId}}\",\n  \"branchID\": \"{{encBranchId}}\",\n  \"yearID\": \"{{encYearId}}\",\n  \"title\": \"\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"emailId\": \"\",\n  \"genderID\": \"\",\n  \"birthDate\": \"2026-07-26T00:00:00\",\n  \"address\": \"\",\n  \"city\": \"\",\n  \"zipCode\": \"\",\n  \"stateID\": \"\",\n  \"countryID\": \"\",\n  \"gstno\": \"\",\n  \"customerSourceID\": \"\",\n  \"isActive\": false,\n  \"dndForPromotionalMessage\": false,\n  \"dndForTransactionalMessage\": false\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Customer/upsert**\n\nBody shows the most-used fields only (the full model has 77). Scoping ids are ENCRYPTED STRINGS here, unlike the numeric ones used by the customer search endpoints."
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/upsert",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "upsert"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": \"{{encCompanyId}}\",\n  \"branchID\": \"{{encBranchId}}\",\n  \"yearID\": \"{{encYearId}}\",\n  \"title\": \"\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"emailId\": \"\",\n  \"genderID\": \"\",\n  \"birthDate\": \"2026-07-26T00:00:00\",\n  \"address\": \"\",\n  \"city\": \"\",\n  \"zipCode\": \"\",\n  \"stateID\": \"\",\n  \"countryID\": \"\",\n  \"gstno\": \"\",\n  \"customerSourceID\": \"\",\n  \"isActive\": false,\n  \"dndForPromotionalMessage\": false,\n  \"dndForTransactionalMessage\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/upsert**\n\nBody shows the most-used fields only (the full model has 77). Scoping ids are ENCRYPTED STRINGS here, unlike the numeric ones used by the customer search endpoints."
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": true,\n  \"message\": \"Customer saved successfully.\",\n  \"customerID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\"\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/upsert",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "upsert"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": \"{{encCompanyId}}\",\n  \"branchID\": \"{{encBranchId}}\",\n  \"yearID\": \"{{encYearId}}\",\n  \"title\": \"\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"emailId\": \"\",\n  \"genderID\": \"\",\n  \"birthDate\": \"2026-07-26T00:00:00\",\n  \"address\": \"\",\n  \"city\": \"\",\n  \"zipCode\": \"\",\n  \"stateID\": \"\",\n  \"countryID\": \"\",\n  \"gstno\": \"\",\n  \"customerSourceID\": \"\",\n  \"isActive\": false,\n  \"dndForPromotionalMessage\": false,\n  \"dndForTransactionalMessage\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/upsert**\n\nBody shows the most-used fields only (the full model has 77). Scoping ids are ENCRYPTED STRINGS here, unlike the numeric ones used by the customer search endpoints."
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": false,\n  \"message\": \"Mobile No is required.\"\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/upsert",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "upsert"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": \"{{encCompanyId}}\",\n  \"branchID\": \"{{encBranchId}}\",\n  \"yearID\": \"{{encYearId}}\",\n  \"title\": \"\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"emailId\": \"\",\n  \"genderID\": \"\",\n  \"birthDate\": \"2026-07-26T00:00:00\",\n  \"address\": \"\",\n  \"city\": \"\",\n  \"zipCode\": \"\",\n  \"stateID\": \"\",\n  \"countryID\": \"\",\n  \"gstno\": \"\",\n  \"customerSourceID\": \"\",\n  \"isActive\": false,\n  \"dndForPromotionalMessage\": false,\n  \"dndForTransactionalMessage\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/upsert**\n\nBody shows the most-used fields only (the full model has 77). Scoping ids are ENCRYPTED STRINGS here, unlike the numeric ones used by the customer search endpoints."
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Customer/upsert",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Customer",
                                                                                                            "upsert"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": \"{{encCompanyId}}\",\n  \"branchID\": \"{{encBranchId}}\",\n  \"yearID\": \"{{encYearId}}\",\n  \"title\": \"\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"mobile\": \"\",\n  \"emailId\": \"\",\n  \"genderID\": \"\",\n  \"birthDate\": \"2026-07-26T00:00:00\",\n  \"address\": \"\",\n  \"city\": \"\",\n  \"zipCode\": \"\",\n  \"stateID\": \"\",\n  \"countryID\": \"\",\n  \"gstno\": \"\",\n  \"customerSourceID\": \"\",\n  \"isActive\": false,\n  \"dndForPromotionalMessage\": false,\n  \"dndForTransactionalMessage\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Customer/upsert**\n\nBody shows the most-used fields only (the full model has 77). Scoping ids are ENCRYPTED STRINGS here, unlike the numeric ones used by the customer search endpoints."
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  }
                              ]
                 },
                 {
                     "name":  "03 Sales Orders",
                     "description":  "Search orders, read line items and balances, change status and cancel. Note: /items takes a NUMERIC id; the other order endpoints take encrypted string ids.",
                     "item":  [
                                  {
                                      "name":  "Get advance receipt data",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Orders/{{encSalesOrderId}}/advance-receipt-data",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Orders",
                                                                               "{{encSalesOrderId}}",
                                                                               "advance-receipt-data"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/Orders/{salesOrderId}/advance-receipt-data**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{encSalesOrderId}}/advance-receipt-data",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{encSalesOrderId}}",
                                                                                                            "advance-receipt-data"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/{salesOrderId}/advance-receipt-data**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"CustomerID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n  \"CustomerName\": \"Rajesh Sharma\",\n  \"CustomerFirstName\": \"Rajesh\",\n  \"CustomerMobileNo\": \"9876543210\",\n  \"CustmoerEmail\": \"rajesh.sharma@email.com\",\n  \"Balance\": 5500.00,\n  \"ReceiptTotalAmount\": 3000.00,\n  \"SOTotalAmount\": 8500.00,\n  \"SOTotalDiscountAmount\": 1200.00,\n  \"SalesOrderID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\",\n  \"StatusID\": 2,\n  \"MembershipID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\"\n}"
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{encSalesOrderId}}/advance-receipt-data",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{encSalesOrderId}}",
                                                                                                            "advance-receipt-data"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/{salesOrderId}/advance-receipt-data**"
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Sales order not found.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{encSalesOrderId}}/advance-receipt-data",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{encSalesOrderId}}",
                                                                                                            "advance-receipt-data"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/{salesOrderId}/advance-receipt-data**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{encSalesOrderId}}/advance-receipt-data",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{encSalesOrderId}}",
                                                                                                            "advance-receipt-data"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/{salesOrderId}/advance-receipt-data**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Cancel order",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Orders/{{encSalesOrderId}}/cancel",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Orders",
                                                                               "{{encSalesOrderId}}",
                                                                               "cancel"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"statusId\": 0,\n  \"receiptStatusId\": 0,\n  \"date\": \"2026-07-26T00:00:00\",\n  \"transactionDate\": \"2026-07-26T00:00:00\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Orders/{salesOrderId}/cancel**\n\nCancellation is NOT reversible through the API. Confirm the reason and receipt treatment before sending."
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{encSalesOrderId}}/cancel",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{encSalesOrderId}}",
                                                                                                            "cancel"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"statusId\": 0,\n  \"receiptStatusId\": 0,\n  \"date\": \"2026-07-26T00:00:00\",\n  \"transactionDate\": \"2026-07-26T00:00:00\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Orders/{salesOrderId}/cancel**\n\nCancellation is NOT reversible through the API. Confirm the reason and receipt treatment before sending."
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": true,\n  \"message\": \"Sales order cancelled successfully.\"\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{encSalesOrderId}}/cancel",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{encSalesOrderId}}",
                                                                                                            "cancel"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"statusId\": 0,\n  \"receiptStatusId\": 0,\n  \"date\": \"2026-07-26T00:00:00\",\n  \"transactionDate\": \"2026-07-26T00:00:00\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Orders/{salesOrderId}/cancel**\n\nCancellation is NOT reversible through the API. Confirm the reason and receipt treatment before sending."
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": false,\n  \"message\": \"Sales order not found or already cancelled.\"\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{encSalesOrderId}}/cancel",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{encSalesOrderId}}",
                                                                                                            "cancel"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"statusId\": 0,\n  \"receiptStatusId\": 0,\n  \"date\": \"2026-07-26T00:00:00\",\n  \"transactionDate\": \"2026-07-26T00:00:00\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Orders/{salesOrderId}/cancel**\n\nCancellation is NOT reversible through the API. Confirm the reason and receipt treatment before sending."
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{encSalesOrderId}}/cancel",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{encSalesOrderId}}",
                                                                                                            "cancel"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"statusId\": 0,\n  \"receiptStatusId\": 0,\n  \"date\": \"2026-07-26T00:00:00\",\n  \"transactionDate\": \"2026-07-26T00:00:00\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Orders/{salesOrderId}/cancel**\n\nCancellation is NOT reversible through the API. Confirm the reason and receipt treatment before sending."
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Get order line items",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Orders/{{salesOrderIdNum}}/items",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Orders",
                                                                               "{{salesOrderIdNum}}",
                                                                               "items"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/Orders/{salesOrderId}/items**\n\nNOTE: this path takes a NUMERIC int64 sales order id ({{salesOrderIdNum}}), unlike the other Orders endpoints which take the encrypted string id."
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{salesOrderIdNum}}/items",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{salesOrderIdNum}}",
                                                                                                            "items"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/{salesOrderId}/items**\n\nNOTE: this path takes a NUMERIC int64 sales order id ({{salesOrderIdNum}}), unlike the other Orders endpoints which take the encrypted string id."
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "[\n  {\n    \"SalesOrderDetailID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n    \"ItemID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\",\n    \"Name\": \"Titan Rimless Frame\",\n    \"Code\": \"TIT-001\",\n    \"Qty\": 1.00,\n    \"MRP\": 3200.00,\n    \"Price\": 2500.00,\n    \"DiscountAmount\": 400.00,\n    \"DiscountRate\": 12.50,\n    \"TaxableAmount\": 2100.00,\n    \"SGSTRate\": 9.00,\n    \"SGSTAmount\": 189.00,\n    \"CGSTRate\": 9.00,\n    \"CGSTAmount\": 189.00,\n    \"IGSTRate\": 0.00,\n    \"IGSTAmount\": 0.00,\n    \"TotalAmount\": 2478.00\n  }\n]"
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{salesOrderIdNum}}/items",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{salesOrderIdNum}}",
                                                                                                            "items"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/{salesOrderId}/items**\n\nNOTE: this path takes a NUMERIC int64 sales order id ({{salesOrderIdNum}}), unlike the other Orders endpoints which take the encrypted string id."
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Sales order not found.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{salesOrderIdNum}}/items",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{salesOrderIdNum}}",
                                                                                                            "items"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/{salesOrderId}/items**\n\nNOTE: this path takes a NUMERIC int64 sales order id ({{salesOrderIdNum}}), unlike the other Orders endpoints which take the encrypted string id."
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{salesOrderIdNum}}/items",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{salesOrderIdNum}}",
                                                                                                            "items"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/{salesOrderId}/items**\n\nNOTE: this path takes a NUMERIC int64 sales order id ({{salesOrderIdNum}}), unlike the other Orders endpoints which take the encrypted string id."
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Change order status",
                                      "request":  {
                                                      "method":  "PUT",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Orders/{{encSalesOrderId}}/status",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Orders",
                                                                               "{{encSalesOrderId}}",
                                                                               "status"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"statusId\": 0\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**PUT /api/Orders/{salesOrderId}/status**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "PUT",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{encSalesOrderId}}/status",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{encSalesOrderId}}",
                                                                                                            "status"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"statusId\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**PUT /api/Orders/{salesOrderId}/status**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": true,\n  \"message\": \"Sales order status updated successfully.\"\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "PUT",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{encSalesOrderId}}/status",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{encSalesOrderId}}",
                                                                                                            "status"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"statusId\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**PUT /api/Orders/{salesOrderId}/status**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": false,\n  \"message\": \"Invalid status or sales order not found.\"\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "PUT",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{encSalesOrderId}}/status",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{encSalesOrderId}}",
                                                                                                            "status"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"statusId\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**PUT /api/Orders/{salesOrderId}/status**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "PUT",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{encSalesOrderId}}/status",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{encSalesOrderId}}",
                                                                                                            "status"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"statusId\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**PUT /api/Orders/{salesOrderId}/status**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Get order by order number",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Orders/{{salesOrderNo}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Orders",
                                                                               "{{salesOrderNo}}"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/Orders/{salesOrderNo}**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{salesOrderNo}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{salesOrderNo}}"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/{salesOrderNo}**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"SalesOrderID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n  \"SalesOrderNO\": \"SO-2024-0568\",\n  \"SalseOrderDate\": \"2024-01-15T00:00:00\",\n  \"DeliveryDate\": \"2024-01-22T00:00:00\",\n  \"CustomerID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\",\n  \"CustomerFullName\": \"Rajesh Sharma\",\n  \"HouseNumber\": \"A-12\",\n  \"SocietyName\": \"Green Gardens\",\n  \"Street\": \"MG Road\",\n  \"Area\": \"Fort\",\n  \"Landmark\": \"Near Post Office\",\n  \"EmailId\": \"rajesh.sharma@email.com\",\n  \"CustomerMobile\": \"9876543210\",\n  \"CustomerGSTNO\": null,\n  \"BranchID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\",\n  \"BranchName\": \"Main Branch\",\n  \"BranchAddress\": \"123 MG Road\",\n  \"BranchCity\": \"Mumbai\",\n  \"BrachEmailId\": \"main@visionoptics.com\",\n  \"BranchMobile\": \"9876500000\",\n  \"CompanyName\": \"Vision Optics Pvt Ltd\",\n  \"GSTNO\": \"27ABCDE1234F1Z5\",\n  \"IsCompositionScheme\": false,\n  \"SalesRepresentativeID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF6TWk0d01B\",\n  \"SRName\": \"Amit Kumar\",\n  \"YearID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF6T0M0d01B\",\n  \"YearName\": \"2024-2025\",\n  \"TaxTypeID\": \"1\",\n  \"TaxType\": \"CGST + SGST\",\n  \"StatusID\": \"2\",\n  \"Transport\": null,\n  \"TotalQuantity\": 3.00,\n  \"ITotalPrice\": 7200.00,\n  \"TotalDiscount\": 1200.00,\n  \"TotalTaxableAmount\": 6000.00,\n  \"TotalSGST\": 540.00,\n  \"TotalCGST\": 540.00,\n  \"TotalIGST\": 0.00,\n  \"JobCharges\": 200.00,\n  \"ServiceTax\": 0.00,\n  \"ShippingCharges\": 0.00,\n  \"OtherCharges\": 0.00,\n  \"Rounding\": 0.00,\n  \"NetAmount\": 8500.00,\n  \"ITotlaMRP\": 9600.00,\n  \"TotalSavings\": 2400.00,\n  \"AcceptedBy\": \"John Doe\",\n  \"Remarks\": null,\n  \"SalesOrderDetailID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF7TWk0d01B\",\n  \"ItemID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF7T0M0d01B\",\n  \"ItemName\": \"Titan Rimless Frame\",\n  \"HSNCode\": \"90041000\",\n  \"ItemTypeName\": \"Frames\",\n  \"Qty\": 1.00,\n  \"MRP\": 3200.00,\n  \"Price\": 2500.00,\n  \"IDTotalMRP\": 3200.00,\n  \"IDTotalPrice\": 2500.00,\n  \"DiscountRate\": 12.50,\n  \"DiscountAmount\": 400.00,\n  \"TaxableAmount\": 2100.00,\n  \"SGSTRate\": 9.00,\n  \"SGSTAmount\": 189.00,\n  \"CGSTRate\": 9.00,\n  \"CGSTAmount\": 189.00,\n  \"IGSTRate\": 0.00,\n  \"IGSTAmount\": 0.00,\n  \"TotalAmount\": 2478.00,\n  \"Spherical_Right\": \"-2.00\",\n  \"Cylinder_Right\": \"-0.75\",\n  \"AXIS_Right\": \"175\",\n  \"ADD_Right\": null,\n  \"VA_Right\": \"6/9\",\n  \"VN_Right\": null,\n  \"PD_Right\": \"32\",\n  \"Spherical_Left\": \"-1.50\",\n  \"Cylinder_Left\": \"-0.50\",\n  \"AXIS_Left\": \"180\",\n  \"ADD_Left\": null,\n  \"VA_Left\": \"6/6\",\n  \"VN_Left\": null,\n  \"PD_Left\": \"32\",\n  \"Conditions\": null,\n  \"ShowPrescriptionOnSalesOrderPrint\": 1,\n  \"NameOfSalesOrderPrint\": \"Sales Order\"\n}"
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{salesOrderNo}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{salesOrderNo}}"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/{salesOrderNo}**"
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Sales order not found.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{salesOrderNo}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{salesOrderNo}}"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/{salesOrderNo}**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{salesOrderNo}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{salesOrderNo}}"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/{salesOrderNo}**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Resolve order number to IDs",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Orders/{{salesOrderNo}}/ids",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Orders",
                                                                               "{{salesOrderNo}}",
                                                                               "ids"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/Orders/{salesOrderNo}/ids**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{salesOrderNo}}/ids",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{salesOrderNo}}",
                                                                                                            "ids"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/{salesOrderNo}/ids**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"SalesOrderID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n  \"CustomerID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\"\n}"
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{salesOrderNo}}/ids",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{salesOrderNo}}",
                                                                                                            "ids"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/{salesOrderNo}/ids**"
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Sales order not found.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{salesOrderNo}}/ids",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{salesOrderNo}}",
                                                                                                            "ids"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/{salesOrderNo}/ids**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/{{salesOrderNo}}/ids",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "{{salesOrderNo}}",
                                                                                                            "ids"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/{salesOrderNo}/ids**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "List cancellation reasons",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Orders/cancellation-reasons",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Orders",
                                                                               "cancellation-reasons"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/Orders/cancellation-reasons**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/cancellation-reasons",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "cancellation-reasons"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/cancellation-reasons**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "[\n  {\n    \"ID\": 1,\n    \"CancellationReason\": \"Customer Request\",\n    \"IsActive\": true\n  },\n  {\n    \"ID\": 2,\n    \"CancellationReason\": \"Out of Stock\",\n    \"IsActive\": true\n  },\n  {\n    \"ID\": 3,\n    \"CancellationReason\": \"Duplicate Order\",\n    \"IsActive\": true\n  }\n]"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/cancellation-reasons",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "cancellation-reasons"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/cancellation-reasons**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/cancellation-reasons",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "cancellation-reasons"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/cancellation-reasons**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Customer order dropdown",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Orders/dropdown?customerId={{encCustomerId}}\u0026yearId={{yearId}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Orders",
                                                                               "dropdown"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "customerId",
                                                                                    "value":  "{{encCustomerId}}",
                                                                                    "description":  "string"
                                                                                },
                                                                                {
                                                                                    "key":  "yearId",
                                                                                    "value":  "{{yearId}}",
                                                                                    "description":  "integer(int64)"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/Orders/dropdown**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/dropdown?customerId={{encCustomerId}}\u0026yearId={{yearId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "dropdown"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "customerId",
                                                                                                                 "value":  "{{encCustomerId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "yearId",
                                                                                                                 "value":  "{{yearId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/dropdown**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "[\n  {\n    \"SalesOrderID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n    \"SalesOrderNO\": \"SO-2024-0568\",\n    \"SONetAmount\": 8500.00,\n    \"ReceiptTotal\": 3000.00,\n    \"BalanceAmount\": 5500.00\n  }\n]"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/dropdown?customerId={{encCustomerId}}\u0026yearId={{yearId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "dropdown"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "customerId",
                                                                                                                 "value":  "{{encCustomerId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "yearId",
                                                                                                                 "value":  "{{yearId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/dropdown**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/dropdown?customerId={{encCustomerId}}\u0026yearId={{yearId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "dropdown"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "customerId",
                                                                                                                 "value":  "{{encCustomerId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "yearId",
                                                                                                                 "value":  "{{yearId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/dropdown**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Search sales orders",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Orders/search",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Orders",
                                                                               "search"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"pageNumber\": 0,\n  \"pageSize\": 0,\n  \"orderBy\": \"\",\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"branchName\": \"\",\n  \"customerName\": \"\",\n  \"customerMobile\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"date\": \"2026-07-26\",\n  \"fromDate\": \"2026-07-26\",\n  \"toDate\": \"2026-07-26\",\n  \"acceptedBy\": \"\",\n  \"deliveryMode\": \"\",\n  \"netAmount\": \"\",\n  \"deliveryDateTime\": \"\",\n  \"status\": \"\",\n  \"discount\": \"\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Orders/search**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/search",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "search"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"pageNumber\": 0,\n  \"pageSize\": 0,\n  \"orderBy\": \"\",\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"branchName\": \"\",\n  \"customerName\": \"\",\n  \"customerMobile\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"date\": \"2026-07-26\",\n  \"fromDate\": \"2026-07-26\",\n  \"toDate\": \"2026-07-26\",\n  \"acceptedBy\": \"\",\n  \"deliveryMode\": \"\",\n  \"netAmount\": \"\",\n  \"deliveryDateTime\": \"\",\n  \"status\": \"\",\n  \"discount\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Orders/search**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"Items\": [\n    {\n      \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n      \"CustomerName\": \"Rajesh Sharma\",\n      \"CustomerMobileNo\": \"9876543210\",\n      \"BranchName\": \"Main Branch\",\n      \"SalesOrderNo\": \"SO-2024-0568\",\n      \"Date\": \"2024-01-15T00:00:00\",\n      \"AcceptedBy\": \"John Doe\",\n      \"DeliveryModeName\": \"Store Pickup\",\n      \"DeliveryDateTime\": \"22/01/2024 10:00 AM\",\n      \"NetAmount\": 8500.00,\n      \"StatusID\": 2,\n      \"Status\": \"Processing\",\n      \"ItemCount\": 3,\n      \"TotalReceipt\": 3000.00,\n      \"TotalDiscount\": 1200.00\n    }\n  ],\n  \"Total\": 245,\n  \"PageNumber\": 1,\n  \"PageSize\": 20\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/search",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "search"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"pageNumber\": 0,\n  \"pageSize\": 0,\n  \"orderBy\": \"\",\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"branchName\": \"\",\n  \"customerName\": \"\",\n  \"customerMobile\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"date\": \"2026-07-26\",\n  \"fromDate\": \"2026-07-26\",\n  \"toDate\": \"2026-07-26\",\n  \"acceptedBy\": \"\",\n  \"deliveryMode\": \"\",\n  \"netAmount\": \"\",\n  \"deliveryDateTime\": \"\",\n  \"status\": \"\",\n  \"discount\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Orders/search**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/search",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "search"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"pageNumber\": 0,\n  \"pageSize\": 0,\n  \"orderBy\": \"\",\n  \"yearID\": {{yearId}},\n  \"customerID\": \"{{encCustomerId}}\",\n  \"branchName\": \"\",\n  \"customerName\": \"\",\n  \"customerMobile\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"date\": \"2026-07-26\",\n  \"fromDate\": \"2026-07-26\",\n  \"toDate\": \"2026-07-26\",\n  \"acceptedBy\": \"\",\n  \"deliveryMode\": \"\",\n  \"netAmount\": \"\",\n  \"deliveryDateTime\": \"\",\n  \"status\": \"\",\n  \"discount\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Orders/search**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "List orders with outstanding balance",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Orders/with-balance?yearId={{yearId}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Orders",
                                                                               "with-balance"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "yearId",
                                                                                    "value":  "{{yearId}}",
                                                                                    "description":  "integer(int64)"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/Orders/with-balance**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/with-balance?yearId={{yearId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "with-balance"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "yearId",
                                                                                                                 "value":  "{{yearId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/with-balance**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "[\n  {\n    \"BranchID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n    \"SalesOrderIDInReceipt\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\",\n    \"SONetAmount\": 8500.00,\n    \"ReceiptTotal\": 3000.00,\n    \"BalanceAmount\": 5500.00,\n    \"CustomerName\": \"Rajesh Sharma\",\n    \"MobileNumber\": \"9876543210\",\n    \"FullSalesOrderNo\": \"SO-2024-0568\",\n    \"ShortSalesOrderNo\": \"0568\",\n    \"CombinedSalesOrderNo\": \"SO-2024-0568 | Rajesh Sharma\"\n  }\n]"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/with-balance?yearId={{yearId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "with-balance"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "yearId",
                                                                                                                 "value":  "{{yearId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/with-balance**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Orders/with-balance?yearId={{yearId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Orders",
                                                                                                            "with-balance"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "yearId",
                                                                                                                 "value":  "{{yearId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Orders/with-balance**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  }
                              ]
                 },
                 {
                     "name":  "04 Invoices",
                     "description":  "List GST invoices, find orders awaiting invoicing, pull a pre-filled invoice draft and post it back. Always round-trip the draft rather than building it by hand.",
                     "item":  [
                                  {
                                      "name":  "Customers awaiting invoicing",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Invoice/get-customers-for-invoice",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Invoice",
                                                                               "get-customers-for-invoice"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/Invoice/get-customers-for-invoice**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/get-customers-for-invoice",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "get-customers-for-invoice"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Invoice/get-customers-for-invoice**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": true,\n  \"data\": [\n    {\n      \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n      \"CustomerName\": \"Rajesh Sharma\"\n    },\n    {\n      \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3T0M0d01B\",\n      \"CustomerName\": \"Priya Patel\"\n    }\n  ]\n}"
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/get-customers-for-invoice",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "get-customers-for-invoice"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Invoice/get-customers-for-invoice**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": false,\n  \"message\": \"Internal Server Error: \u003cmessage\u003e\"\n}"
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Get invoice draft for an order",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Invoice/get-invoice-data-by-salesorder?salesOrderId={{encSalesOrderId}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Invoice",
                                                                               "get-invoice-data-by-salesorder"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "salesOrderId",
                                                                                    "value":  "{{encSalesOrderId}}",
                                                                                    "description":  "string"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/Invoice/get-invoice-data-by-salesorder**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/get-invoice-data-by-salesorder?salesOrderId={{encSalesOrderId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "get-invoice-data-by-salesorder"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "salesOrderId",
                                                                                                                 "value":  "{{encSalesOrderId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Invoice/get-invoice-data-by-salesorder**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": true,\n  \"data\": {\n    \"salesOrderID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n    \"salesOrderDate\": \"20/01/2024\",\n    \"customerID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\",\n    \"salesRepresentative\": \"Amit Kumar\",\n    \"salesRepresentativeID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\",\n    \"taxTypeID\": 1,\n    \"taxType\": \"CGST + SGST\",\n    \"transport\": null,\n    \"totalQuantity\": 3.00,\n    \"totalPrice\": 7200.00,\n    \"totalMRP\": 9600.00,\n    \"totalSavings\": 2400.00,\n    \"totalDiscount\": 1200.00,\n    \"totalTaxableAmount\": 6000.00,\n    \"totalSGST\": 540.00,\n    \"totalCGST\": 540.00,\n    \"totalIGST\": 0.00,\n    \"shippingCharges\": 0.00,\n    \"otherCharges\": 0.00,\n    \"jobCharges\": 200.00,\n    \"serviceTax\": 0.00,\n    \"rounding\": 0.00,\n    \"netAmount\": 8500.00,\n    \"isForeigner\": false,\n    \"items\": [\n      {\n        \"id\": \"Q2ZQdGhSZVhBaVlXTnpaWFF6TWk0d01B\",\n        \"itemId\": \"Q2ZQdGhSZVhBaVlXTnpaWFF6T0M0d01B\",\n        \"name\": \"Titan Rimless Frame\",\n        \"code\": \"TIT-001\",\n        \"qty\": 1.00,\n        \"mrp\": 3200.00,\n        \"price\": 2500.00,\n        \"discountAmount\": 400.00,\n        \"discountRate\": 12.50,\n        \"taxableAmount\": 2100.00,\n        \"sgstRate\": 9.00,\n        \"sgstAmount\": 189.00,\n        \"cgstRate\": 9.00,\n        \"cgstAmount\": 189.00,\n        \"igstRate\": 0.00,\n        \"igstAmount\": 0.00,\n        \"totalAmount\": 2478.00,\n        \"pairNo\": \"1\",\n        \"spectacleLensType\": \"Single Vision\",\n        \"spherical\": \"-1.50\",\n        \"cylinder\": \"-0.50\",\n        \"axis\": \"180\",\n        \"addition\": null,\n        \"vision\": \"6/6\"\n      }\n    ]\n  }\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/get-invoice-data-by-salesorder?salesOrderId={{encSalesOrderId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "get-invoice-data-by-salesorder"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "salesOrderId",
                                                                                                                 "value":  "{{encSalesOrderId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Invoice/get-invoice-data-by-salesorder**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": false,\n  \"message\": \"Invalid Sales Order ID provided.\"\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/get-invoice-data-by-salesorder?salesOrderId={{encSalesOrderId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "get-invoice-data-by-salesorder"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "salesOrderId",
                                                                                                                 "value":  "{{encSalesOrderId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Invoice/get-invoice-data-by-salesorder**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims (CompanyID/BranchID/UID). Please log in to get access.\""
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/get-invoice-data-by-salesorder?salesOrderId={{encSalesOrderId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "get-invoice-data-by-salesorder"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "salesOrderId",
                                                                                                                 "value":  "{{encSalesOrderId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Invoice/get-invoice-data-by-salesorder**"
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": false,\n  \"message\": \"Sales Order not found.\"\n}"
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/get-invoice-data-by-salesorder?salesOrderId={{encSalesOrderId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "get-invoice-data-by-salesorder"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "salesOrderId",
                                                                                                                 "value":  "{{encSalesOrderId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Invoice/get-invoice-data-by-salesorder**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": false,\n  \"message\": \"Internal Server Error: \u003cmessage\u003e\"\n}"
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Orders awaiting invoicing (branch-wide)",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Invoice/GetOrdersForNewInvoice",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Invoice",
                                                                               "GetOrdersForNewInvoice"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}}\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Invoice/GetOrdersForNewInvoice**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/GetOrdersForNewInvoice",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "GetOrdersForNewInvoice"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}}\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Invoice/GetOrdersForNewInvoice**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"OrderList\": [\n    {\n      \"SalesOrderID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n      \"SalesOrderNO\": \"SO-2024-0568\"\n    },\n    {\n      \"SalesOrderID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3T0M0d01B\",\n      \"SalesOrderNO\": \"SO-2024-0569\"\n    }\n  ]\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/GetOrdersForNewInvoice",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "GetOrdersForNewInvoice"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}}\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Invoice/GetOrdersForNewInvoice**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Error message.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/GetOrdersForNewInvoice",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "GetOrdersForNewInvoice"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}}\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Invoice/GetOrdersForNewInvoice**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims (CompanyID/BranchID/UID). Please log in to get access.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Orders awaiting invoicing (by customer)",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Invoice/get-sales-orders-for-invoice?customerId={{encCustomerId}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Invoice",
                                                                               "get-sales-orders-for-invoice"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "customerId",
                                                                                    "value":  "{{encCustomerId}}",
                                                                                    "description":  "string"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/Invoice/get-sales-orders-for-invoice**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/get-sales-orders-for-invoice?customerId={{encCustomerId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "get-sales-orders-for-invoice"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "customerId",
                                                                                                                 "value":  "{{encCustomerId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Invoice/get-sales-orders-for-invoice**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": true,\n  \"data\": [\n    {\n      \"SalesOrderID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n      \"SalesOrderNO\": \"SO-2024-0568\"\n    }\n  ]\n}"
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/get-sales-orders-for-invoice?customerId={{encCustomerId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "get-sales-orders-for-invoice"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "customerId",
                                                                                                                 "value":  "{{encCustomerId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Invoice/get-sales-orders-for-invoice**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": false,\n  \"message\": \"Internal Server Error: \u003cmessage\u003e\"\n}"
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Search invoices",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Invoice/List",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Invoice",
                                                                               "List"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerMobile\": \"\",\n  \"customerName\": \"\",\n  \"invoiceNumber\": \"\",\n  \"fromDate\": \"2026-07-26\",\n  \"toDate\": \"2026-07-26\",\n  \"amount\": \"\",\n  \"netAmount\": \"\",\n  \"totalRows\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"orderBy\": \"\",\n  \"customerID\": \"{{encCustomerId}}\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Invoice/List**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/List",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "List"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerMobile\": \"\",\n  \"customerName\": \"\",\n  \"invoiceNumber\": \"\",\n  \"fromDate\": \"2026-07-26\",\n  \"toDate\": \"2026-07-26\",\n  \"amount\": \"\",\n  \"netAmount\": \"\",\n  \"totalRows\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"orderBy\": \"\",\n  \"customerID\": \"{{encCustomerId}}\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Invoice/List**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"TotalRows\": 87,\n  \"Data\": [\n    {\n      \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n      \"PlainId\": 1042,\n      \"InvoiceNo\": \"INV-2024-1042\",\n      \"SalesOrderNo\": \"SO-2024-0568\",\n      \"Date\": \"2024-01-20T00:00:00\",\n      \"CustomerName\": \"Rajesh Sharma\",\n      \"CustomerMobileNo\": \"9876543210\",\n      \"NetAmount\": 8500.00\n    }\n  ]\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/List",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "List"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerMobile\": \"\",\n  \"customerName\": \"\",\n  \"invoiceNumber\": \"\",\n  \"fromDate\": \"2026-07-26\",\n  \"toDate\": \"2026-07-26\",\n  \"amount\": \"\",\n  \"netAmount\": \"\",\n  \"totalRows\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"orderBy\": \"\",\n  \"customerID\": \"{{encCustomerId}}\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Invoice/List**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"message\": \"Error message here.\"\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/List",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "List"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"yearID\": {{yearId}},\n  \"customerMobile\": \"\",\n  \"customerName\": \"\",\n  \"invoiceNumber\": \"\",\n  \"fromDate\": \"2026-07-26\",\n  \"toDate\": \"2026-07-26\",\n  \"amount\": \"\",\n  \"netAmount\": \"\",\n  \"totalRows\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"orderBy\": \"\",\n  \"customerID\": \"{{encCustomerId}}\",\n  \"fromPage\": 0,\n  \"toPage\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Invoice/List**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims (CompanyID/BranchID/UID). Please log in to get access.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Save invoice",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Invoice/save-invoice-data",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Invoice",
                                                                               "save-invoice-data"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"sessionID\": \"{{sessionId}}\",\n  \"orderDate\": \"2026-07-26T00:00:00\",\n  \"expectedDate\": \"2026-07-26T00:00:00\",\n  \"supplierID\": \"\",\n  \"fitterID\": \"\",\n  \"priorityID\": \"\",\n  \"userId\": 0,\n  \"branchCity\": \"\",\n  \"isLensAdded\": false,\n  \"isSpectacleLensInOrder\": false,\n  \"isExternal\": false\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Invoice/save-invoice-data**\n\nBody is the composite OMFastWizardModel (94 top-level properties). ALWAYS round-trip: call \"Get invoice draft for an order\" first, modify what you need, and post the whole object back. Building this by hand produces incorrect tax totals."
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/save-invoice-data",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "save-invoice-data"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"sessionID\": \"{{sessionId}}\",\n  \"orderDate\": \"2026-07-26T00:00:00\",\n  \"expectedDate\": \"2026-07-26T00:00:00\",\n  \"supplierID\": \"\",\n  \"fitterID\": \"\",\n  \"priorityID\": \"\",\n  \"userId\": 0,\n  \"branchCity\": \"\",\n  \"isLensAdded\": false,\n  \"isSpectacleLensInOrder\": false,\n  \"isExternal\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Invoice/save-invoice-data**\n\nBody is the composite OMFastWizardModel (94 top-level properties). ALWAYS round-trip: call \"Get invoice draft for an order\" first, modify what you need, and post the whole object back. Building this by hand produces incorrect tax totals."
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": true,\n  \"data\": {\n    \"InvoiceId\": 1042,\n    \"EncryptedInvoiceId\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n    \"InvoiceNo\": \"INV-2024-1042\"\n  }\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/save-invoice-data",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "save-invoice-data"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"sessionID\": \"{{sessionId}}\",\n  \"orderDate\": \"2026-07-26T00:00:00\",\n  \"expectedDate\": \"2026-07-26T00:00:00\",\n  \"supplierID\": \"\",\n  \"fitterID\": \"\",\n  \"priorityID\": \"\",\n  \"userId\": 0,\n  \"branchCity\": \"\",\n  \"isLensAdded\": false,\n  \"isSpectacleLensInOrder\": false,\n  \"isExternal\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Invoice/save-invoice-data**\n\nBody is the composite OMFastWizardModel (94 top-level properties). ALWAYS round-trip: call \"Get invoice draft for an order\" first, modify what you need, and post the whole object back. Building this by hand produces incorrect tax totals."
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": false,\n  \"message\": \"Failed to save invoice.\"\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/save-invoice-data",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "save-invoice-data"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"sessionID\": \"{{sessionId}}\",\n  \"orderDate\": \"2026-07-26T00:00:00\",\n  \"expectedDate\": \"2026-07-26T00:00:00\",\n  \"supplierID\": \"\",\n  \"fitterID\": \"\",\n  \"priorityID\": \"\",\n  \"userId\": 0,\n  \"branchCity\": \"\",\n  \"isLensAdded\": false,\n  \"isSpectacleLensInOrder\": false,\n  \"isExternal\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Invoice/save-invoice-data**\n\nBody is the composite OMFastWizardModel (94 top-level properties). ALWAYS round-trip: call \"Get invoice draft for an order\" first, modify what you need, and post the whole object back. Building this by hand produces incorrect tax totals."
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Invoice/save-invoice-data",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Invoice",
                                                                                                            "save-invoice-data"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"sessionID\": \"{{sessionId}}\",\n  \"orderDate\": \"2026-07-26T00:00:00\",\n  \"expectedDate\": \"2026-07-26T00:00:00\",\n  \"supplierID\": \"\",\n  \"fitterID\": \"\",\n  \"priorityID\": \"\",\n  \"userId\": 0,\n  \"branchCity\": \"\",\n  \"isLensAdded\": false,\n  \"isSpectacleLensInOrder\": false,\n  \"isExternal\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Invoice/save-invoice-data**\n\nBody is the composite OMFastWizardModel (94 top-level properties). ALWAYS round-trip: call \"Get invoice draft for an order\" first, modify what you need, and post the whole object back. Building this by hand produces incorrect tax totals."
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": false,\n  \"message\": \"Internal Server Error: \u003cmessage\u003e\"\n}"
                                                       }
                                                   ]
                                  }
                              ]
                 },
                 {
                     "name":  "05 Payments \u0026 Reporting",
                     "description":  "Read receipts against a customer/order, page the receipt register, and pull dashboard aggregates.",
                     "item":  [
                                  {
                                      "name":  "Get dashboard data",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Dashboard/dashboardData",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Dashboard",
                                                                               "dashboardData"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"branchID\": \"{{encBranchId}}\",\n  \"yearID\": \"{{encYearId}}\",\n  \"statusId\": 0,\n  \"date\": \"2026-07-26T00:00:00\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Dashboard/dashboardData**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Dashboard/dashboardData",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Dashboard",
                                                                                                            "dashboardData"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"branchID\": \"{{encBranchId}}\",\n  \"yearID\": \"{{encYearId}}\",\n  \"statusId\": 0,\n  \"date\": \"2026-07-26T00:00:00\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Dashboard/dashboardData**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"TodaySalesOrder\": 12500.50,\n  \"MonthlySalesOrder\": 385000.00,\n  \"TotalSalesOrder\": 4250000.00,\n  \"TodayReceipt\": 9500.00,\n  \"MonthlyReceipt\": 310000.00,\n  \"TotalReceipt\": 3800000.00,\n  \"TodayCustomers\": 8,\n  \"MonthlyCustomers\": 215,\n  \"TotalCustomers\": 3420\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Dashboard/dashboardData",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Dashboard",
                                                                                                            "dashboardData"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"branchID\": \"{{encBranchId}}\",\n  \"yearID\": \"{{encYearId}}\",\n  \"statusId\": 0,\n  \"date\": \"2026-07-26T00:00:00\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Dashboard/dashboardData**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Invalid request.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Dashboard/dashboardData",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Dashboard",
                                                                                                            "dashboardData"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"branchID\": \"{{encBranchId}}\",\n  \"yearID\": \"{{encYearId}}\",\n  \"statusId\": 0,\n  \"date\": \"2026-07-26T00:00:00\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Dashboard/dashboardData**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims. Please log in.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Dashboard/dashboardData",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Dashboard",
                                                                                                            "dashboardData"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"branchID\": \"{{encBranchId}}\",\n  \"yearID\": \"{{encYearId}}\",\n  \"statusId\": 0,\n  \"date\": \"2026-07-26T00:00:00\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Dashboard/dashboardData**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An error occurred while fetching dashboard data.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Get receipts for customer + order",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Receipts/id?customerId={{customerIdNum}}\u0026salesOrderId={{salesOrderIdNum}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Receipts",
                                                                               "id"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "customerId",
                                                                                    "value":  "{{customerIdNum}}",
                                                                                    "description":  "integer(int64)"
                                                                                },
                                                                                {
                                                                                    "key":  "salesOrderId",
                                                                                    "value":  "{{salesOrderIdNum}}",
                                                                                    "description":  "integer(int64)"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/Receipts/id**\n\nNOTE: both ids here are NUMERIC int64, not encrypted strings. Despite the path ending in /id, the identifiers are query parameters and the response is an array."
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Receipts/id?customerId={{customerIdNum}}\u0026salesOrderId={{salesOrderIdNum}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Receipts",
                                                                                                            "id"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "customerId",
                                                                                                                 "value":  "{{customerIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "salesOrderId",
                                                                                                                 "value":  "{{salesOrderIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Receipts/id**\n\nNOTE: both ids here are NUMERIC int64, not encrypted strings. Despite the path ending in /id, the identifiers are query parameters and the response is an array."
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "[\n  {\n    \"ReceiptId\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n    \"ReceiptNo\": \"REC-2024-0321\",\n    \"Name\": \"Advance\",\n    \"SalesOrderNo\": \"SO-2024-0568\",\n    \"InvoiceNO\": \"INV-2024-1042\",\n    \"Date\": \"2024-01-16T00:00:00\",\n    \"Amount\": 3000.00,\n    \"StatusName\": \"Active\",\n    \"Balance\": 5500.00,\n    \"ReceiptTotalAmount\": 3000.00,\n    \"SOTotalAmount\": 8500.00\n  }\n]"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Receipts/id?customerId={{customerIdNum}}\u0026salesOrderId={{salesOrderIdNum}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Receipts",
                                                                                                            "id"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "customerId",
                                                                                                                 "value":  "{{customerIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "salesOrderId",
                                                                                                                 "value":  "{{salesOrderIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Receipts/id**\n\nNOTE: both ids here are NUMERIC int64, not encrypted strings. Despite the path ending in /id, the identifiers are query parameters and the response is an array."
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Receipts/id?customerId={{customerIdNum}}\u0026salesOrderId={{salesOrderIdNum}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Receipts",
                                                                                                            "id"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "customerId",
                                                                                                                 "value":  "{{customerIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "salesOrderId",
                                                                                                                 "value":  "{{salesOrderIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/Receipts/id**\n\nNOTE: both ids here are NUMERIC int64, not encrypted strings. Despite the path ending in /id, the identifiers are query parameters and the response is an array."
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Search receipt register",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Receipts/list-paged",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Receipts",
                                                                               "list-paged"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"companyID\": \"{{encCompanyId}}\",\n  \"branchID\": \"{{encBranchId}}\",\n  \"yearID\": \"{{encYearId}}\",\n  \"customerID\": \"{{encCustomerId}}\",\n  \"receiptNo\": \"\",\n  \"receiptType\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"invoiceNO\": \"\",\n  \"date\": \"2026-07-26\",\n  \"customerName\": \"\",\n  \"customerMobile\": \"\",\n  \"fromDate\": \"2026-07-26\",\n  \"toDate\": \"2026-07-26\",\n  \"amount\": \"\",\n  \"status\": \"\",\n  \"pageNumber\": 0,\n  \"pageSize\": 0,\n  \"orderBy\": \"\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Receipts/list-paged**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Receipts/list-paged",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Receipts",
                                                                                                            "list-paged"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": \"{{encCompanyId}}\",\n  \"branchID\": \"{{encBranchId}}\",\n  \"yearID\": \"{{encYearId}}\",\n  \"customerID\": \"{{encCustomerId}}\",\n  \"receiptNo\": \"\",\n  \"receiptType\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"invoiceNO\": \"\",\n  \"date\": \"2026-07-26\",\n  \"customerName\": \"\",\n  \"customerMobile\": \"\",\n  \"fromDate\": \"2026-07-26\",\n  \"toDate\": \"2026-07-26\",\n  \"amount\": \"\",\n  \"status\": \"\",\n  \"pageNumber\": 0,\n  \"pageSize\": 0,\n  \"orderBy\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Receipts/list-paged**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"Items\": [\n    {\n      \"ReceiptId\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n      \"ReceiptNo\": \"REC-2024-0321\",\n      \"ReceiptType\": \"Advance\",\n      \"SalesOrderNo\": \"SO-2024-0568\",\n      \"InvoiceNO\": \"INV-2024-1042\",\n      \"CustomerName\": \"Rajesh Sharma\",\n      \"CustomerMobileNo\": \"9876543210\",\n      \"ReceiptDate\": \"2024-01-16T00:00:00\",\n      \"Amount\": 3000.00,\n      \"SalesOrderAmount\": 8500.00,\n      \"Status\": \"Active\",\n      \"StatusID\": 1,\n      \"ItemCount\": 1,\n      \"TotalReceipt\": 3000.00\n    }\n  ],\n  \"Total\": 38,\n  \"PageNumber\": 1,\n  \"PageSize\": 20\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Receipts/list-paged",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Receipts",
                                                                                                            "list-paged"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": \"{{encCompanyId}}\",\n  \"branchID\": \"{{encBranchId}}\",\n  \"yearID\": \"{{encYearId}}\",\n  \"customerID\": \"{{encCustomerId}}\",\n  \"receiptNo\": \"\",\n  \"receiptType\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"invoiceNO\": \"\",\n  \"date\": \"2026-07-26\",\n  \"customerName\": \"\",\n  \"customerMobile\": \"\",\n  \"fromDate\": \"2026-07-26\",\n  \"toDate\": \"2026-07-26\",\n  \"amount\": \"\",\n  \"status\": \"\",\n  \"pageNumber\": 0,\n  \"pageSize\": 0,\n  \"orderBy\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Receipts/list-paged**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Receipts/list-paged",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Receipts",
                                                                                                            "list-paged"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": \"{{encCompanyId}}\",\n  \"branchID\": \"{{encBranchId}}\",\n  \"yearID\": \"{{encYearId}}\",\n  \"customerID\": \"{{encCustomerId}}\",\n  \"receiptNo\": \"\",\n  \"receiptType\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"invoiceNO\": \"\",\n  \"date\": \"2026-07-26\",\n  \"customerName\": \"\",\n  \"customerMobile\": \"\",\n  \"fromDate\": \"2026-07-26\",\n  \"toDate\": \"2026-07-26\",\n  \"amount\": \"\",\n  \"status\": \"\",\n  \"pageNumber\": 0,\n  \"pageSize\": 0,\n  \"orderBy\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Receipts/list-paged**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  }
                              ]
                 },
                 {
                     "name":  "06 Quick Sale",
                     "description":  "Counter billing. Build a server-side cart against a sessionID, look up items by barcode or autocomplete, check stock, then commit sale + invoice + receipt in one call.",
                     "item":  [
                                  {
                                      "name":  "Card types",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/allCard",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "allCard"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/quickSale/allCard**"
                                                  }
                                  },
                                  {
                                      "name":  "Get minimum app version",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/app-version",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "app-version"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/quickSale/app-version**"
                                                  }
                                  },
                                  {
                                      "name":  "Delete cart line",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/delete-salesorder-temp",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "delete-salesorder-temp"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"sessionID\": \"{{sessionId}}\",\n  \"salesOrderTempId\": \"\",\n  \"pairNo\": \"\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/quickSale/delete-salesorder-temp**"
                                                  }
                                  },
                                  {
                                      "name":  "Abandon cart (clear session)",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/deleteSalesOrderTempBySession",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "deleteSalesOrderTempBySession"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"sessionID\": \"{{sessionId}}\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/quickSale/deleteSalesOrderTempBySession**"
                                                  }
                                  },
                                  {
                                      "name":  "List payment methods",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/Fetch-Receipt-Type",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "Fetch-Receipt-Type"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/quickSale/Fetch-Receipt-Type**"
                                                  }
                                  },
                                  {
                                      "name":  "Get branch details",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/get-branch-details",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "get-branch-details"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/quickSale/get-branch-details**"
                                                  }
                                  },
                                  {
                                      "name":  "Get branch logo",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/get-branch-logo/{{branchId}}/{{branchLogoFileName}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "get-branch-logo",
                                                                               "{{branchId}}",
                                                                               "{{branchLogoFileName}}"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/quickSale/get-branch-logo/{branchId}/{fileName}**\n\nReturns image bytes, not JSON."
                                                  }
                                  },
                                  {
                                      "name":  "List customer credit notes",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/get-credit-notes?customerId={{customerIdNum}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "get-credit-notes"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "customerId",
                                                                                    "value":  "{{customerIdNum}}",
                                                                                    "description":  "integer(int64)"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/quickSale/get-credit-notes**"
                                                  }
                                  },
                                  {
                                      "name":  "Doctors dropdown",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/get-doctors-dropdown",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "get-doctors-dropdown"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/quickSale/get-doctors-dropdown**"
                                                  }
                                  },
                                  {
                                      "name":  "Get live item stock",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/getExactItemStock?itemId={{itemIdNum}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "getExactItemStock"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "itemId",
                                                                                    "value":  "{{itemIdNum}}",
                                                                                    "description":  "integer(int64)"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/quickSale/getExactItemStock**"
                                                  }
                                  },
                                  {
                                      "name":  "Fitters dropdown",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/get-fitters-dropdown",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "get-fitters-dropdown"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/quickSale/get-fitters-dropdown**"
                                                  }
                                  },
                                  {
                                      "name":  "Autocomplete frames \u0026 sunglasses",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/GetFrameSunGlassForAutoComplete?term=ray\u0026yearId={{yearId}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "GetFrameSunGlassForAutoComplete"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "term",
                                                                                    "value":  "ray",
                                                                                    "description":  "string"
                                                                                },
                                                                                {
                                                                                    "key":  "yearId",
                                                                                    "value":  "{{yearId}}",
                                                                                    "description":  "integer(int64)"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/quickSale/GetFrameSunGlassForAutoComplete**"
                                                  }
                                  },
                                  {
                                      "name":  "Genders",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/getGenders",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "getGenders"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/quickSale/getGenders**"
                                                  }
                                  },
                                  {
                                      "name":  "Get item by barcode",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/getItemDetailFromCode?code=8901234567890",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "getItemDetailFromCode"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "code",
                                                                                    "value":  "8901234567890",
                                                                                    "description":  "string"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/quickSale/getItemDetailFromCode**"
                                                  }
                                  },
                                  {
                                      "name":  "Get item type by ID",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/get-item-type-id?id=0",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "get-item-type-id"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "id",
                                                                                    "value":  "0",
                                                                                    "description":  "integer(int32)"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/quickSale/get-item-type-id**"
                                                  }
                                  },
                                  {
                                      "name":  "Memberships (paged)",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/getMemberships?page=1\u0026pageSize=50",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "getMemberships"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "page",
                                                                                    "value":  "1",
                                                                                    "description":  "integer(int32)"
                                                                                },
                                                                                {
                                                                                    "key":  "pageSize",
                                                                                    "value":  "50",
                                                                                    "description":  "integer(int32)"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/quickSale/getMemberships**"
                                                  }
                                  },
                                  {
                                      "name":  "Job priority dropdown",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/get-priority-dropdown",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "get-priority-dropdown"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/quickSale/get-priority-dropdown**"
                                                  }
                                  },
                                  {
                                      "name":  "Get receipt detail (for reprint)",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/GetReceiptDetails?customerId={{customerIdNum}}\u0026receiptId={{receiptIdNum}}\u0026salesOrderId={{salesOrderIdNum}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "GetReceiptDetails"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "customerId",
                                                                                    "value":  "{{customerIdNum}}",
                                                                                    "description":  "integer(int64)"
                                                                                },
                                                                                {
                                                                                    "key":  "receiptId",
                                                                                    "value":  "{{receiptIdNum}}",
                                                                                    "description":  "integer(int64)"
                                                                                },
                                                                                {
                                                                                    "key":  "salesOrderId",
                                                                                    "value":  "{{salesOrderIdNum}}",
                                                                                    "description":  "integer(int64)"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/quickSale/GetReceiptDetails**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/GetReceiptDetails?customerId={{customerIdNum}}\u0026receiptId={{receiptIdNum}}\u0026salesOrderId={{salesOrderIdNum}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "GetReceiptDetails"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "customerId",
                                                                                                                 "value":  "{{customerIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "receiptId",
                                                                                                                 "value":  "{{receiptIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "salesOrderId",
                                                                                                                 "value":  "{{salesOrderIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/quickSale/GetReceiptDetails**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"ReceiptId\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n  \"ReceiptNo\": \"REC-2024-0321\",\n  \"ReceiptType\": \"Advance\",\n  \"SalesOrderNo\": \"SO-2024-0568\",\n  \"CustomerName\": \"Rajesh Sharma\",\n  \"CustomerMobile\": \"9876543210\",\n  \"Date\": \"2024-01-16T00:00:00\",\n  \"Amount\": 3000.00,\n  \"PaymentMode\": \"Cash\",\n  \"Status\": \"Active\",\n  \"StatusID\": 1,\n  \"Remarks\": null\n}"
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/GetReceiptDetails?customerId={{customerIdNum}}\u0026receiptId={{receiptIdNum}}\u0026salesOrderId={{salesOrderIdNum}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "GetReceiptDetails"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "customerId",
                                                                                                                 "value":  "{{customerIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "receiptId",
                                                                                                                 "value":  "{{receiptIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "salesOrderId",
                                                                                                                 "value":  "{{salesOrderIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/quickSale/GetReceiptDetails**"
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Receipt not found.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/GetReceiptDetails?customerId={{customerIdNum}}\u0026receiptId={{receiptIdNum}}\u0026salesOrderId={{salesOrderIdNum}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "GetReceiptDetails"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "customerId",
                                                                                                                 "value":  "{{customerIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "receiptId",
                                                                                                                 "value":  "{{receiptIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "salesOrderId",
                                                                                                                 "value":  "{{salesOrderIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/quickSale/GetReceiptDetails**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/GetReceiptDetails?customerId={{customerIdNum}}\u0026receiptId={{receiptIdNum}}\u0026salesOrderId={{salesOrderIdNum}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "GetReceiptDetails"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "customerId",
                                                                                                                 "value":  "{{customerIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "receiptId",
                                                                                                                 "value":  "{{receiptIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "salesOrderId",
                                                                                                                 "value":  "{{salesOrderIdNum}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/quickSale/GetReceiptDetails**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Get cart with totals",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/GetSalesOrderTemp",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "GetSalesOrderTemp"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"sessionId\": \"{{sessionId}}\",\n  \"jobCharges\": 0,\n  \"shippingCharges\": 0,\n  \"otherCharges\": 0,\n  \"serviceTax\": 0,\n  \"isCompositionScheme\": false,\n  \"isCustomerStateNotSameAsCompanyState\": false\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/quickSale/GetSalesOrderTemp**"
                                                  }
                                  },
                                  {
                                      "name":  "Customer sources (paged)",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/getSources?page=1\u0026pageSize=50",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "getSources"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "page",
                                                                                    "value":  "1",
                                                                                    "description":  "integer(int32)"
                                                                                },
                                                                                {
                                                                                    "key":  "pageSize",
                                                                                    "value":  "50",
                                                                                    "description":  "integer(int32)"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/quickSale/getSources**"
                                                  }
                                  },
                                  {
                                      "name":  "Autocomplete spectacle lenses",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/GetSpectacleLensForAutoComplete?term=ray",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "GetSpectacleLensForAutoComplete"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "term",
                                                                                    "value":  "ray",
                                                                                    "description":  "string"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/quickSale/GetSpectacleLensForAutoComplete**"
                                                  }
                                  },
                                  {
                                      "name":  "Suppliers dropdown",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/get-suppliers-dropdown",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "get-suppliers-dropdown"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/quickSale/get-suppliers-dropdown**"
                                                  }
                                  },
                                  {
                                      "name":  "Raise invoice for existing order",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/SaveInvoiceOnly",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "SaveInvoiceOnly"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"salesOrderID\": \"{{encSalesOrderId}}\",\n  \"customerID\": \"{{encCustomerId}}\",\n  \"sessionID\": \"{{sessionId}}\",\n  \"invoiceDate\": \"2026-07-26T00:00:00\",\n  \"isCompositionScheme\": false\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/quickSale/SaveInvoiceOnly**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/SaveInvoiceOnly",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "SaveInvoiceOnly"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"salesOrderID\": \"{{encSalesOrderId}}\",\n  \"customerID\": \"{{encCustomerId}}\",\n  \"sessionID\": \"{{sessionId}}\",\n  \"invoiceDate\": \"2026-07-26T00:00:00\",\n  \"isCompositionScheme\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/quickSale/SaveInvoiceOnly**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": true,\n  \"invoiceId\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n  \"invoiceNo\": \"INV-2024-1043\"\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/SaveInvoiceOnly",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "SaveInvoiceOnly"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"salesOrderID\": \"{{encSalesOrderId}}\",\n  \"customerID\": \"{{encCustomerId}}\",\n  \"sessionID\": \"{{sessionId}}\",\n  \"invoiceDate\": \"2026-07-26T00:00:00\",\n  \"isCompositionScheme\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/quickSale/SaveInvoiceOnly**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": false,\n  \"message\": \"Sales order not found or already invoiced.\"\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/SaveInvoiceOnly",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "SaveInvoiceOnly"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"salesOrderID\": \"{{encSalesOrderId}}\",\n  \"customerID\": \"{{encCustomerId}}\",\n  \"sessionID\": \"{{sessionId}}\",\n  \"invoiceDate\": \"2026-07-26T00:00:00\",\n  \"isCompositionScheme\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/quickSale/SaveInvoiceOnly**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/SaveInvoiceOnly",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "SaveInvoiceOnly"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"salesOrderID\": \"{{encSalesOrderId}}\",\n  \"customerID\": \"{{encCustomerId}}\",\n  \"sessionID\": \"{{sessionId}}\",\n  \"invoiceDate\": \"2026-07-26T00:00:00\",\n  \"isCompositionScheme\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/quickSale/SaveInvoiceOnly**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Record payment (receipt)",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/SaveReceipt",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "SaveReceipt"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"salesOrderID\": \"{{encSalesOrderId}}\",\n  \"yearId\": \"{{encYearId}}\",\n  \"branchId\": {{branchId}},\n  \"receiptTypeId\": 0,\n  \"receiptAmount\": 0,\n  \"referenceNo\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"netAmount\": 0,\n  \"statusId\": 0,\n  \"taxNotApplicable\": false,\n  \"isForeigner\": false,\n  \"receiptPrintFormat\": 0\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/quickSale/SaveReceipt**\n\nBody shows the most-used fields only (the full model has 164; the remainder are branch letterhead and print-layout fields)."
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/SaveReceipt",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "SaveReceipt"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"salesOrderID\": \"{{encSalesOrderId}}\",\n  \"yearId\": \"{{encYearId}}\",\n  \"branchId\": {{branchId}},\n  \"receiptTypeId\": 0,\n  \"receiptAmount\": 0,\n  \"referenceNo\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"netAmount\": 0,\n  \"statusId\": 0,\n  \"taxNotApplicable\": false,\n  \"isForeigner\": false,\n  \"receiptPrintFormat\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/quickSale/SaveReceipt**\n\nBody shows the most-used fields only (the full model has 164; the remainder are branch letterhead and print-layout fields)."
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": true,\n  \"receiptId\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n  \"receiptNo\": \"REC-2024-0322\",\n  \"invoiceGenerated\": false,\n  \"invoiceId\": null,\n  \"invoiceNo\": null\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/SaveReceipt",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "SaveReceipt"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"salesOrderID\": \"{{encSalesOrderId}}\",\n  \"yearId\": \"{{encYearId}}\",\n  \"branchId\": {{branchId}},\n  \"receiptTypeId\": 0,\n  \"receiptAmount\": 0,\n  \"referenceNo\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"netAmount\": 0,\n  \"statusId\": 0,\n  \"taxNotApplicable\": false,\n  \"isForeigner\": false,\n  \"receiptPrintFormat\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/quickSale/SaveReceipt**\n\nBody shows the most-used fields only (the full model has 164; the remainder are branch letterhead and print-layout fields)."
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": false,\n  \"message\": \"Amount must be greater than zero.\"\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/SaveReceipt",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "SaveReceipt"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"salesOrderID\": \"{{encSalesOrderId}}\",\n  \"yearId\": \"{{encYearId}}\",\n  \"branchId\": {{branchId}},\n  \"receiptTypeId\": 0,\n  \"receiptAmount\": 0,\n  \"referenceNo\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"netAmount\": 0,\n  \"statusId\": 0,\n  \"taxNotApplicable\": false,\n  \"isForeigner\": false,\n  \"receiptPrintFormat\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/quickSale/SaveReceipt**\n\nBody shows the most-used fields only (the full model has 164; the remainder are branch letterhead and print-layout fields)."
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/SaveReceipt",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "SaveReceipt"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"salesOrderID\": \"{{encSalesOrderId}}\",\n  \"yearId\": \"{{encYearId}}\",\n  \"branchId\": {{branchId}},\n  \"receiptTypeId\": 0,\n  \"receiptAmount\": 0,\n  \"referenceNo\": \"\",\n  \"salesOrderNo\": \"{{salesOrderNo}}\",\n  \"netAmount\": 0,\n  \"statusId\": 0,\n  \"taxNotApplicable\": false,\n  \"isForeigner\": false,\n  \"receiptPrintFormat\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/quickSale/SaveReceipt**\n\nBody shows the most-used fields only (the full model has 164; the remainder are branch letterhead and print-layout fields)."
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Commit sale (order + invoice + receipt)",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/SaveSale",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "SaveSale"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"sessionID\": \"{{sessionId}}\",\n  \"orderDate\": \"2026-07-26T00:00:00\",\n  \"expectedDate\": \"2026-07-26T00:00:00\",\n  \"supplierID\": \"\",\n  \"fitterID\": \"\",\n  \"priorityID\": \"\",\n  \"userId\": 0,\n  \"branchCity\": \"\",\n  \"isLensAdded\": false,\n  \"isSpectacleLensInOrder\": false,\n  \"isExternal\": false\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/quickSale/SaveSale**\n\nCommits the cart identified by sessionID into a real order + invoice + receipt. Do not blindly retry on timeout - query \"Search sales orders\" first to check whether it already succeeded."
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/SaveSale",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "SaveSale"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"sessionID\": \"{{sessionId}}\",\n  \"orderDate\": \"2026-07-26T00:00:00\",\n  \"expectedDate\": \"2026-07-26T00:00:00\",\n  \"supplierID\": \"\",\n  \"fitterID\": \"\",\n  \"priorityID\": \"\",\n  \"userId\": 0,\n  \"branchCity\": \"\",\n  \"isLensAdded\": false,\n  \"isSpectacleLensInOrder\": false,\n  \"isExternal\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/quickSale/SaveSale**\n\nCommits the cart identified by sessionID into a real order + invoice + receipt. Do not blindly retry on timeout - query \"Search sales orders\" first to check whether it already succeeded."
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": true,\n  \"message\": \"Sale saved successfully.\",\n  \"data\": {\n    \"CustomerID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n    \"SalesOrderID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\",\n    \"ReceiptID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\",\n    \"ReceiptNo\": \"REC-2024-0321\",\n    \"InvoiceID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF6TWk0d01B\",\n    \"InvoiceNo\": \"INV-2024-1042\",\n    \"IsInvoiceGenerated\": true\n  }\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/SaveSale",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "SaveSale"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"sessionID\": \"{{sessionId}}\",\n  \"orderDate\": \"2026-07-26T00:00:00\",\n  \"expectedDate\": \"2026-07-26T00:00:00\",\n  \"supplierID\": \"\",\n  \"fitterID\": \"\",\n  \"priorityID\": \"\",\n  \"userId\": 0,\n  \"branchCity\": \"\",\n  \"isLensAdded\": false,\n  \"isSpectacleLensInOrder\": false,\n  \"isExternal\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/quickSale/SaveSale**\n\nCommits the cart identified by sessionID into a real order + invoice + receipt. Do not blindly retry on timeout - query \"Search sales orders\" first to check whether it already succeeded."
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Cart is empty. Add items to the session before saving the sale.\""
                                                       },
                                                       {
                                                           "name":  "400 Bad Request (400 customer)",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/SaveSale",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "SaveSale"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"sessionID\": \"{{sessionId}}\",\n  \"orderDate\": \"2026-07-26T00:00:00\",\n  \"expectedDate\": \"2026-07-26T00:00:00\",\n  \"supplierID\": \"\",\n  \"fitterID\": \"\",\n  \"priorityID\": \"\",\n  \"userId\": 0,\n  \"branchCity\": \"\",\n  \"isLensAdded\": false,\n  \"isSpectacleLensInOrder\": false,\n  \"isExternal\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/quickSale/SaveSale**\n\nCommits the cart identified by sessionID into a real order + invoice + receipt. Do not blindly retry on timeout - query \"Search sales orders\" first to check whether it already succeeded."
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Customer save failed.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/SaveSale",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "SaveSale"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"sessionID\": \"{{sessionId}}\",\n  \"orderDate\": \"2026-07-26T00:00:00\",\n  \"expectedDate\": \"2026-07-26T00:00:00\",\n  \"supplierID\": \"\",\n  \"fitterID\": \"\",\n  \"priorityID\": \"\",\n  \"userId\": 0,\n  \"branchCity\": \"\",\n  \"isLensAdded\": false,\n  \"isSpectacleLensInOrder\": false,\n  \"isExternal\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/quickSale/SaveSale**\n\nCommits the cart identified by sessionID into a real order + invoice + receipt. Do not blindly retry on timeout - query \"Search sales orders\" first to check whether it already succeeded."
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/quickSale/SaveSale",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "quickSale",
                                                                                                            "SaveSale"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"sessionID\": \"{{sessionId}}\",\n  \"orderDate\": \"2026-07-26T00:00:00\",\n  \"expectedDate\": \"2026-07-26T00:00:00\",\n  \"supplierID\": \"\",\n  \"fitterID\": \"\",\n  \"priorityID\": \"\",\n  \"userId\": 0,\n  \"branchCity\": \"\",\n  \"isLensAdded\": false,\n  \"isSpectacleLensInOrder\": false,\n  \"isExternal\": false\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/quickSale/SaveSale**\n\nCommits the cart identified by sessionID into a real order + invoice + receipt. Do not blindly retry on timeout - query \"Search sales orders\" first to check whether it already succeeded."
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": false,\n  \"message\": \"\u003cerror message\u003e\",\n  \"DetailedError\": \"\u003cinner exception or stack trace\u003e\"\n}"
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Add line item to cart",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/saveSalesOrderTemp",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "saveSalesOrderTemp"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"sessionID\": \"{{sessionId}}\",\n  \"itemID\": \"{{encItemId}}\",\n  \"inventoryID\": \"\",\n  \"qty\": 0,\n  \"mrp\": 0,\n  \"price\": 0,\n  \"discountRate\": 0,\n  \"discountAmount\": 0,\n  \"sgstRate\": 0,\n  \"cgstRate\": 0,\n  \"igstRate\": 0,\n  \"jobCharges\": 0,\n  \"pairNo\": \"\",\n  \"spectacleLensType\": 0,\n  \"spherical\": \"\",\n  \"cylinder\": \"\",\n  \"axis\": \"\",\n  \"addition\": \"\",\n  \"pd\": \"\",\n  \"lensFittingHeight\": 0,\n  \"lensTotalHeight\": 0\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/quickSale/saveSalesOrderTemp**\n\nAdds ONE line item to the cart. Leave the computed total/tax fields unset - OptoSoft calculates them. Use pairNo to group lines into complete spectacle pairs."
                                                  }
                                  },
                                  {
                                      "name":  "Search contact lenses",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/search-contact-lens",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "search-contact-lens"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"term\": \"\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/quickSale/search-contact-lens**"
                                                  }
                                  },
                                  {
                                      "name":  "Update cart line",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/quickSale/update-sales-order-temp-values",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "quickSale",
                                                                               "update-sales-order-temp-values"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"id\": \"\",\n  \"qty\": 0,\n  \"price\": 0,\n  \"discountRate\": 0,\n  \"discountAmount\": 0\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/quickSale/update-sales-order-temp-values**"
                                                  }
                                  }
                              ]
                 },
                 {
                     "name":  "07 Catalog \u0026 Master Data",
                     "description":  "Item type/category/sub-category tree, item search, country/state/financial-year masters, and invoice/receipt PDF + HTML rendering.",
                     "item":  [
                                  {
                                      "name":  "List categories by item type",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Common/GetCategoriesByItemType",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Common",
                                                                               "GetCategoriesByItemType"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"itemTypeID\": \"{{encItemTypeId}}\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Common/GetCategoriesByItemType**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetCategoriesByItemType",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetCategoriesByItemType"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"itemTypeID\": \"{{encItemTypeId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/GetCategoriesByItemType**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "[\n  {\n    \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n    \"Name\": \"Single Vision\",\n    \"Code\": \"SV\",\n    \"ItemTypeID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\"\n  },\n  {\n    \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3T0M0d01B\",\n    \"Name\": \"Bifocal\",\n    \"Code\": \"BF\",\n    \"ItemTypeID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\"\n  }\n]"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetCategoriesByItemType",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetCategoriesByItemType"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"itemTypeID\": \"{{encItemTypeId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/GetCategoriesByItemType**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"ItemTypeID is required.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetCategoriesByItemType",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetCategoriesByItemType"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"itemTypeID\": \"{{encItemTypeId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/GetCategoriesByItemType**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"No logged in please login to get the access.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetCategoriesByItemType",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetCategoriesByItemType"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"itemTypeID\": \"{{encItemTypeId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/GetCategoriesByItemType**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "List countries",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Common/GetCountries",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Common",
                                                                               "GetCountries"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/Common/GetCountries**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetCountries",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetCountries"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Common/GetCountries**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "[\n  {\n    \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n    \"Name\": \"India\"\n  },\n  {\n    \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3T0M0d01B\",\n    \"Name\": \"United States\"\n  },\n  {\n    \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\",\n    \"Name\": \"United Kingdom\"\n  }\n]"
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetCountries",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetCountries"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Common/GetCountries**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Internal server error while fetching countries.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "List item types",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Common/GetItemTypes",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Common",
                                                                               "GetItemTypes"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/Common/GetItemTypes**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetItemTypes",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetItemTypes"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Common/GetItemTypes**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "[\n  {\n    \"Value\": \"1\",\n    \"Name\": \"Frames\"\n  },\n  {\n    \"Value\": \"2\",\n    \"Name\": \"Lenses\"\n  },\n  {\n    \"Value\": \"3\",\n    \"Name\": \"ContactLens\"\n  },\n  {\n    \"Value\": \"4\",\n    \"Name\": \"Accessories\"\n  },\n  {\n    \"Value\": \"5\",\n    \"Name\": \"Solutions\"\n  }\n]"
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetItemTypes",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetItemTypes"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Common/GetItemTypes**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred while fetching item types.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "List states by country",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Common/GetStates/{{encCountryId}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Common",
                                                                               "GetStates",
                                                                               "{{encCountryId}}"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/Common/GetStates/{countryId}**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetStates/{{encCountryId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetStates",
                                                                                                            "{{encCountryId}}"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Common/GetStates/{countryId}**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "[\n  {\n    \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5T0M0d01B\",\n    \"Name\": \"Maharashtra\",\n    \"CountryID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\"\n  },\n  {\n    \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF6TWk0d01B\",\n    \"Name\": \"Gujarat\",\n    \"CountryID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\"\n  },\n  {\n    \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF6T0M0d01B\",\n    \"Name\": \"Karnataka\",\n    \"CountryID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\"\n  }\n]"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetStates/{{encCountryId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetStates",
                                                                                                            "{{encCountryId}}"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Common/GetStates/{countryId}**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Invalid CountryID.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetStates/{{encCountryId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetStates",
                                                                                                            "{{encCountryId}}"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Common/GetStates/{countryId}**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Internal server error while fetching states.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "List sub-categories by category",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Common/GetSubCategoriesByCategory",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Common",
                                                                               "GetSubCategoriesByCategory"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"categoryID\": \"{{encCategoryId}}\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Common/GetSubCategoriesByCategory**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetSubCategoriesByCategory",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetSubCategoriesByCategory"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"categoryID\": \"{{encCategoryId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/GetSubCategoriesByCategory**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "[\n  {\n    \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\",\n    \"Name\": \"CR39\",\n    \"Code\": \"CR39\",\n    \"CategoryID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\"\n  },\n  {\n    \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5T0M0d01B\",\n    \"Name\": \"Polycarbonate\",\n    \"Code\": \"PC\",\n    \"CategoryID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\"\n  }\n]"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetSubCategoriesByCategory",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetSubCategoriesByCategory"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"categoryID\": \"{{encCategoryId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/GetSubCategoriesByCategory**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"CategoryID is required.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetSubCategoriesByCategory",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetSubCategoriesByCategory"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"categoryID\": \"{{encCategoryId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/GetSubCategoriesByCategory**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"No logged in please login to get the access.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetSubCategoriesByCategory",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetSubCategoriesByCategory"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"categoryID\": \"{{encCategoryId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/GetSubCategoriesByCategory**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "List financial years",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Common/GetYears",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Common",
                                                                               "GetYears"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/Common/GetYears**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetYears",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetYears"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Common/GetYears**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "[\n  {\n    \"YearID\": 4,\n    \"YearName\": \"2023-2024\",\n    \"StartDate\": \"2023-04-01T00:00:00\",\n    \"EndDate\": \"2024-03-31T00:00:00\",\n    \"IsCurrentYear\": false\n  },\n  {\n    \"YearID\": 5,\n    \"YearName\": \"2024-2025\",\n    \"StartDate\": \"2024-04-01T00:00:00\",\n    \"EndDate\": \"2025-03-31T00:00:00\",\n    \"IsCurrentYear\": true\n  }\n]"
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/GetYears",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "GetYears"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/Common/GetYears**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred while getting the year list.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Render invoice PDF",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Common/invoice/pdf?BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Common",
                                                                               "invoice",
                                                                               "pdf"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "BranchID",
                                                                                    "value":  "{{branchId}}",
                                                                                    "description":  "string"
                                                                                },
                                                                                {
                                                                                    "key":  "CompanyID",
                                                                                    "value":  "{{companyId}}",
                                                                                    "description":  "string"
                                                                                }
                                                                            ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Common/invoice/pdf**\n\nReturns binary PDF bytes, not JSON. The spec types the body as a bare string; in practice it is the serialised invoice document model - round-trip it from \"Get invoice draft for an order\"."
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/invoice/pdf?BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "invoice",
                                                                                                            "pdf"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/invoice/pdf**\n\nReturns binary PDF bytes, not JSON. The spec types the body as a bare string; in practice it is the serialised invoice document model - round-trip it from \"Get invoice draft for an order\"."
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"\u003cbinary PDF — Content-Type: application/pdf, Content-Disposition: attachment; filename=\u003cinvoiceId\u003e.pdf\u003e\""
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/invoice/pdf?BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "invoice",
                                                                                                            "pdf"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/invoice/pdf**\n\nReturns binary PDF bytes, not JSON. The spec types the body as a bare string; in practice it is the serialised invoice document model - round-trip it from \"Get invoice draft for an order\"."
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Please Provide the Invoice ID\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/invoice/pdf?BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "invoice",
                                                                                                            "pdf"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/invoice/pdf**\n\nReturns binary PDF bytes, not JSON. The spec types the body as a bare string; in practice it is the serialised invoice document model - round-trip it from \"Get invoice draft for an order\"."
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims (CompanyID/BranchID). Please log in to get access.\""
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/invoice/pdf?BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "invoice",
                                                                                                            "pdf"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/invoice/pdf**\n\nReturns binary PDF bytes, not JSON. The spec types the body as a bare string; in practice it is the serialised invoice document model - round-trip it from \"Get invoice draft for an order\"."
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Could not find data for invoice \u0027\u003cinvoiceId\u003e\u0027.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/invoice/pdf?BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "invoice",
                                                                                                            "pdf"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/invoice/pdf**\n\nReturns binary PDF bytes, not JSON. The spec types the body as a bare string; in practice it is the serialised invoice document model - round-trip it from \"Get invoice draft for an order\"."
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Render invoice HTML",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Common/invoice/pdf/html?BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Common",
                                                                               "invoice",
                                                                               "pdf",
                                                                               "html"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "BranchID",
                                                                                    "value":  "{{branchId}}",
                                                                                    "description":  "string"
                                                                                },
                                                                                {
                                                                                    "key":  "CompanyID",
                                                                                    "value":  "{{companyId}}",
                                                                                    "description":  "string"
                                                                                }
                                                                            ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Common/invoice/pdf/html**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/invoice/pdf/html?BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "invoice",
                                                                                                            "pdf",
                                                                                                            "html"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/invoice/pdf/html**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"\u003cbinary PDF — Content-Type: application/pdf\u003e\""
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/invoice/pdf/html?BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "invoice",
                                                                                                            "pdf",
                                                                                                            "html"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/invoice/pdf/html**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Please provide the Invoice ID.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/invoice/pdf/html?BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "invoice",
                                                                                                            "pdf",
                                                                                                            "html"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/invoice/pdf/html**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Missing CompanyID or BranchID claim.\""
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/invoice/pdf/html?BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "invoice",
                                                                                                            "pdf",
                                                                                                            "html"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/invoice/pdf/html**"
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Could not find data for invoice \u0027\u003cinvoiceId\u003e\u0027.\""
                                                       },
                                                       {
                                                           "name":  "501 Not Implemented",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/invoice/pdf/html?BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "invoice",
                                                                                                            "pdf",
                                                                                                            "html"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/invoice/pdf/html**"
                                                                               },
                                                           "status":  "Not Implemented",
                                                           "code":  501,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"HTML PDF generation is not yet implemented. Use /invoice/pdf for now.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/invoice/pdf/html?BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "invoice",
                                                                                                            "pdf",
                                                                                                            "html"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/invoice/pdf/html**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Render receipt PDF",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Common/receipt/pdf?receiptNo={{receiptNo}}\u0026external=true\u0026BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Common",
                                                                               "receipt",
                                                                               "pdf"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "receiptNo",
                                                                                    "value":  "{{receiptNo}}",
                                                                                    "description":  "string"
                                                                                },
                                                                                {
                                                                                    "key":  "external",
                                                                                    "value":  "true",
                                                                                    "description":  "boolean"
                                                                                },
                                                                                {
                                                                                    "key":  "BranchID",
                                                                                    "value":  "{{branchId}}",
                                                                                    "description":  "string"
                                                                                },
                                                                                {
                                                                                    "key":  "CompanyID",
                                                                                    "value":  "{{companyId}}",
                                                                                    "description":  "string"
                                                                                }
                                                                            ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Common/receipt/pdf**\n\nReturns binary PDF bytes, not JSON. This one can locate the document itself from receiptNo."
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/receipt/pdf?receiptNo={{receiptNo}}\u0026external=true\u0026BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "receipt",
                                                                                                            "pdf"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "receiptNo",
                                                                                                                 "value":  "{{receiptNo}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "external",
                                                                                                                 "value":  "true",
                                                                                                                 "description":  "boolean"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/receipt/pdf**\n\nReturns binary PDF bytes, not JSON. This one can locate the document itself from receiptNo."
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"\u003cbinary PDF — Content-Type: application/pdf, Content-Disposition: attachment; filename=\u003creceiptNo\u003e.pdf\u003e\""
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/receipt/pdf?receiptNo={{receiptNo}}\u0026external=true\u0026BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "receipt",
                                                                                                            "pdf"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "receiptNo",
                                                                                                                 "value":  "{{receiptNo}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "external",
                                                                                                                 "value":  "true",
                                                                                                                 "description":  "boolean"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/receipt/pdf**\n\nReturns binary PDF bytes, not JSON. This one can locate the document itself from receiptNo."
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Please Provide the Receipt Number/ID\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/receipt/pdf?receiptNo={{receiptNo}}\u0026external=true\u0026BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "receipt",
                                                                                                            "pdf"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "receiptNo",
                                                                                                                 "value":  "{{receiptNo}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "external",
                                                                                                                 "value":  "true",
                                                                                                                 "description":  "boolean"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/receipt/pdf**\n\nReturns binary PDF bytes, not JSON. This one can locate the document itself from receiptNo."
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims (CompanyID/BranchID). Please log in to get access.\""
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/receipt/pdf?receiptNo={{receiptNo}}\u0026external=true\u0026BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "receipt",
                                                                                                            "pdf"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "receiptNo",
                                                                                                                 "value":  "{{receiptNo}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "external",
                                                                                                                 "value":  "true",
                                                                                                                 "description":  "boolean"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/receipt/pdf**\n\nReturns binary PDF bytes, not JSON. This one can locate the document itself from receiptNo."
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Could not find data for receipt \u0027\u003creceiptId\u003e\u0027.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/receipt/pdf?receiptNo={{receiptNo}}\u0026external=true\u0026BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "receipt",
                                                                                                            "pdf"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "receiptNo",
                                                                                                                 "value":  "{{receiptNo}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "external",
                                                                                                                 "value":  "true",
                                                                                                                 "description":  "boolean"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/receipt/pdf**\n\nReturns binary PDF bytes, not JSON. This one can locate the document itself from receiptNo."
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Render receipt HTML",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Common/receipt/pdf/html?receiptNo={{receiptNo}}\u0026external=true\u0026BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Common",
                                                                               "receipt",
                                                                               "pdf",
                                                                               "html"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "receiptNo",
                                                                                    "value":  "{{receiptNo}}",
                                                                                    "description":  "string"
                                                                                },
                                                                                {
                                                                                    "key":  "external",
                                                                                    "value":  "true",
                                                                                    "description":  "boolean"
                                                                                },
                                                                                {
                                                                                    "key":  "BranchID",
                                                                                    "value":  "{{branchId}}",
                                                                                    "description":  "string"
                                                                                },
                                                                                {
                                                                                    "key":  "CompanyID",
                                                                                    "value":  "{{companyId}}",
                                                                                    "description":  "string"
                                                                                }
                                                                            ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Common/receipt/pdf/html**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/receipt/pdf/html?receiptNo={{receiptNo}}\u0026external=true\u0026BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "receipt",
                                                                                                            "pdf",
                                                                                                            "html"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "receiptNo",
                                                                                                                 "value":  "{{receiptNo}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "external",
                                                                                                                 "value":  "true",
                                                                                                                 "description":  "boolean"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/receipt/pdf/html**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"\u003cbinary PDF — Content-Type: application/pdf\u003e\""
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/receipt/pdf/html?receiptNo={{receiptNo}}\u0026external=true\u0026BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "receipt",
                                                                                                            "pdf",
                                                                                                            "html"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "receiptNo",
                                                                                                                 "value":  "{{receiptNo}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "external",
                                                                                                                 "value":  "true",
                                                                                                                 "description":  "boolean"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/receipt/pdf/html**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Please provide the Receipt ID.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/receipt/pdf/html?receiptNo={{receiptNo}}\u0026external=true\u0026BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "receipt",
                                                                                                            "pdf",
                                                                                                            "html"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "receiptNo",
                                                                                                                 "value":  "{{receiptNo}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "external",
                                                                                                                 "value":  "true",
                                                                                                                 "description":  "boolean"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/receipt/pdf/html**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Missing CompanyID or BranchID claim.\""
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/receipt/pdf/html?receiptNo={{receiptNo}}\u0026external=true\u0026BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "receipt",
                                                                                                            "pdf",
                                                                                                            "html"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "receiptNo",
                                                                                                                 "value":  "{{receiptNo}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "external",
                                                                                                                 "value":  "true",
                                                                                                                 "description":  "boolean"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/receipt/pdf/html**"
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Could not find data for receipt \u0027\u003creceiptId\u003e\u0027.\""
                                                       },
                                                       {
                                                           "name":  "501 Not Implemented",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/receipt/pdf/html?receiptNo={{receiptNo}}\u0026external=true\u0026BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "receipt",
                                                                                                            "pdf",
                                                                                                            "html"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "receiptNo",
                                                                                                                 "value":  "{{receiptNo}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "external",
                                                                                                                 "value":  "true",
                                                                                                                 "description":  "boolean"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/receipt/pdf/html**"
                                                                               },
                                                           "status":  "Not Implemented",
                                                           "code":  501,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"HTML PDF generation is not yet implemented. Use /receipt/pdf for now.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/receipt/pdf/html?receiptNo={{receiptNo}}\u0026external=true\u0026BranchID={{branchId}}\u0026CompanyID={{companyId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "receipt",
                                                                                                            "pdf",
                                                                                                            "html"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "receiptNo",
                                                                                                                 "value":  "{{receiptNo}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "external",
                                                                                                                 "value":  "true",
                                                                                                                 "description":  "boolean"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "BranchID",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "CompanyID",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "\"\u003cserialised document model - round-trip it from the invoice draft endpoint\u003e\"",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/receipt/pdf/html**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Search catalog items",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Common/SearchItems",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Common",
                                                                               "SearchItems"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"itemTypeID\": \"{{encItemTypeId}}\",\n  \"categoryID\": \"{{encCategoryId}}\",\n  \"subCategoryID\": \"\",\n  \"searchTerm\": \"\",\n  \"pageNumber\": 0,\n  \"pageSize\": 0\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Common/SearchItems**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/SearchItems",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "SearchItems"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"itemTypeID\": \"{{encItemTypeId}}\",\n  \"categoryID\": \"{{encCategoryId}}\",\n  \"subCategoryID\": \"\",\n  \"searchTerm\": \"\",\n  \"pageNumber\": 0,\n  \"pageSize\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/SearchItems**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"Items\": [\n    {\n      \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n      \"Name\": \"Titan Rimless Frame\",\n      \"Code\": \"TIT-001\",\n      \"Price\": 2500.00,\n      \"MRP\": 3200.00,\n      \"Stock\": 15.00,\n      \"ItemTypeID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\",\n      \"CategoryID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4T0M0d01B\",\n      \"SubCategoryID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\"\n    }\n  ],\n  \"Total\": 142,\n  \"PageNumber\": 1,\n  \"PageSize\": 50\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/SearchItems",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "SearchItems"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"itemTypeID\": \"{{encItemTypeId}}\",\n  \"categoryID\": \"{{encCategoryId}}\",\n  \"subCategoryID\": \"\",\n  \"searchTerm\": \"\",\n  \"pageNumber\": 0,\n  \"pageSize\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/SearchItems**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Missing required claims (CompanyID/BranchID/yearID). Please log in.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Common/SearchItems",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Common",
                                                                                                            "SearchItems"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"itemTypeID\": \"{{encItemTypeId}}\",\n  \"categoryID\": \"{{encCategoryId}}\",\n  \"subCategoryID\": \"\",\n  \"searchTerm\": \"\",\n  \"pageNumber\": 0,\n  \"pageSize\": 0\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Common/SearchItems**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Get full category tree",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Module/GetCategoryTreeByItemType",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Module",
                                                                               "GetCategoryTreeByItemType"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"itemTypeID\": \"{{encItemTypeId}}\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Module/GetCategoryTreeByItemType**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Module/GetCategoryTreeByItemType",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Module",
                                                                                                            "GetCategoryTreeByItemType"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"itemTypeID\": \"{{encItemTypeId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Module/GetCategoryTreeByItemType**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "[\n  {\n    \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n    \"Name\": \"Single Vision\",\n    \"Code\": \"SV\",\n    \"ItemTypeID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\",\n    \"SubCategories\": [\n      {\n        \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\",\n        \"Name\": \"CR39\",\n        \"Code\": \"CR39\",\n        \"CategoryID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\"\n      },\n      {\n        \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5T0M0d01B\",\n        \"Name\": \"Polycarbonate\",\n        \"Code\": \"PC\",\n        \"CategoryID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\"\n      }\n    ]\n  }\n]"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Module/GetCategoryTreeByItemType",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Module",
                                                                                                            "GetCategoryTreeByItemType"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"itemTypeID\": \"{{encItemTypeId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Module/GetCategoryTreeByItemType**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"ItemTypeID is required.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Module/GetCategoryTreeByItemType",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Module",
                                                                                                            "GetCategoryTreeByItemType"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"itemTypeID\": \"{{encItemTypeId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Module/GetCategoryTreeByItemType**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"No logged in please login to get the access.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Module/GetCategoryTreeByItemType",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Module",
                                                                                                            "GetCategoryTreeByItemType"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"itemTypeID\": \"{{encItemTypeId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Module/GetCategoryTreeByItemType**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "List item types by module",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Module/GetItemTypesByModule",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Module",
                                                                               "GetItemTypesByModule"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"moduleID\": \"{{encModuleId}}\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Module/GetItemTypesByModule**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Module/GetItemTypesByModule",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Module",
                                                                                                            "GetItemTypesByModule"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"moduleID\": \"{{encModuleId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Module/GetItemTypesByModule**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "[\n  {\n    \"Value\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n    \"Name\": \"Frames\",\n    \"ItemImagePath\": \"https://cdn.example.com/itemtypes/1/frame_icon.png\",\n    \"ModuleID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\"\n  }\n]"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Module/GetItemTypesByModule",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Module",
                                                                                                            "GetItemTypesByModule"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"moduleID\": \"{{encModuleId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Module/GetItemTypesByModule**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"ModuleID is required.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Module/GetItemTypesByModule",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Module",
                                                                                                            "GetItemTypesByModule"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"moduleID\": \"{{encModuleId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Module/GetItemTypesByModule**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"No logged in please login to get the access.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Module/GetItemTypesByModule",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Module",
                                                                                                            "GetItemTypesByModule"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"moduleID\": \"{{encModuleId}}\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Module/GetItemTypesByModule**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "List quick sale types",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Module/GetQuickSaleTypes",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Module",
                                                                               "GetQuickSaleTypes"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"value\": \"\",\n  \"name\": \"\",\n  \"moduleID\": \"{{encModuleId}}\",\n  \"itemImagePath\": \"\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Module/GetQuickSaleTypes**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Module/GetQuickSaleTypes",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Module",
                                                                                                            "GetQuickSaleTypes"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"value\": \"\",\n  \"name\": \"\",\n  \"moduleID\": \"{{encModuleId}}\",\n  \"itemImagePath\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Module/GetQuickSaleTypes**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "[\n  {\n    \"Value\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n    \"Name\": \"Frames\",\n    \"ItemImagePath\": \"https://cdn.example.com/itemtypes/1/frame_icon.png\",\n    \"ModuleID\": \"1\"\n  },\n  {\n    \"Value\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3T0M0d01B\",\n    \"Name\": \"Lenses\",\n    \"ItemImagePath\": \"https://cdn.example.com/itemtypes/2/lens_icon.png\",\n    \"ModuleID\": \"1\"\n  }\n]"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Module/GetQuickSaleTypes",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Module",
                                                                                                            "GetQuickSaleTypes"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"value\": \"\",\n  \"name\": \"\",\n  \"moduleID\": \"{{encModuleId}}\",\n  \"itemImagePath\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Module/GetQuickSaleTypes**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"No logged in please login to get the access.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Module/GetQuickSaleTypes",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Module",
                                                                                                            "GetQuickSaleTypes"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"value\": \"\",\n  \"name\": \"\",\n  \"moduleID\": \"{{encModuleId}}\",\n  \"itemImagePath\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Module/GetQuickSaleTypes**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Commit sale (module-scoped)",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/Module/SaveSale",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "Module",
                                                                               "SaveSale"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/Module/SaveSale**\n\nThe OpenAPI spec declares this request body as an untyped object with no schema, so its contract is not verifiable. Prefer /api/quickSale/SaveSale. Contact OptoSoft before building against this."
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Module/SaveSale",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Module",
                                                                                                            "SaveSale"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Module/SaveSale**\n\nThe OpenAPI spec declares this request body as an untyped object with no schema, so its contract is not verifiable. Prefer /api/quickSale/SaveSale. Contact OptoSoft before building against this."
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"Success\": true,\n  \"Message\": \"Sale saved successfully\",\n  \"Data\": {\n    \"CustomerID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n    \"SalesOrderID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF4TWk0d01B\",\n    \"InvoiceID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\",\n    \"EncryptedInvoiceID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF5TWk0d01B\",\n    \"IsInvoiceGenerated\": true,\n    \"UsedDefaultCustomer\": false\n  }\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Module/SaveSale",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Module",
                                                                                                            "SaveSale"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Module/SaveSale**\n\nThe OpenAPI spec declares this request body as an untyped object with no schema, so its contract is not verifiable. Prefer /api/quickSale/SaveSale. Contact OptoSoft before building against this."
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Cart is empty. Add items to the session before saving the sale.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Module/SaveSale",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Module",
                                                                                                            "SaveSale"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Module/SaveSale**\n\nThe OpenAPI spec declares this request body as an untyped object with no schema, so its contract is not verifiable. Prefer /api/quickSale/SaveSale. Contact OptoSoft before building against this."
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Module/SaveSale",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Module",
                                                                                                            "SaveSale"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Module/SaveSale**\n\nThe OpenAPI spec declares this request body as an untyped object with no schema, so its contract is not verifiable. Prefer /api/quickSale/SaveSale. Contact OptoSoft before building against this."
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Company not found for CompanyID: \u003cid\u003e.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/Module/SaveSale",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "Module",
                                                                                                            "SaveSale"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/Module/SaveSale**\n\nThe OpenAPI spec declares this request body as an untyped object with no schema, so its contract is not verifiable. Prefer /api/quickSale/SaveSale. Contact OptoSoft before building against this."
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"Success\": false,\n  \"Message\": \"\u003cerror message\u003e\",\n  \"DetailedError\": \"\u003cinner exception or stack trace\u003e\"\n}"
                                                       }
                                                   ]
                                  }
                              ]
                 },
                 {
                     "name":  "08 WhatsApp Messaging",
                     "description":  "Register a WhatsApp Business Account against a branch and manage the Meta-approved message-template library.",
                     "item":  [
                                  {
                                      "name":  "Get WhatsApp configuration",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/ClientWhatsAppConfig/{{encConfigId}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "ClientWhatsAppConfig",
                                                                               "{{encConfigId}}"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/ClientWhatsAppConfig/{id}**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/ClientWhatsAppConfig/{{encConfigId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "ClientWhatsAppConfig",
                                                                                                            "{{encConfigId}}"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/ClientWhatsAppConfig/{id}**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n  \"WabaID\": \"123456789012345\",\n  \"PhoneNumberId\": \"987654321098765\",\n  \"AccessToken\": \"EAAxxxxxx...\",\n  \"DisplayName\": \"Vision Optics Support\",\n  \"IsActive\": true,\n  \"CreatedDate\": \"2024-01-15T10:30:00\"\n}"
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/ClientWhatsAppConfig/{{encConfigId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "ClientWhatsAppConfig",
                                                                                                            "{{encConfigId}}"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/ClientWhatsAppConfig/{id}**"
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Configuration not found.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/ClientWhatsAppConfig/{{encConfigId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "ClientWhatsAppConfig",
                                                                                                            "{{encConfigId}}"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/ClientWhatsAppConfig/{id}**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/ClientWhatsAppConfig/{{encConfigId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "ClientWhatsAppConfig",
                                                                                                            "{{encConfigId}}"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/ClientWhatsAppConfig/{id}**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "List WhatsApp configurations",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/ClientWhatsAppConfig/List",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "ClientWhatsAppConfig",
                                                                               "List"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"displayName\": \"\",\n  \"phoneNumber\": \"\",\n  \"wabaID\": \"\",\n  \"phoneNumberID\": \"\",\n  \"accessToken\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0,\n  \"orderBy\": \"\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/ClientWhatsAppConfig/List**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/ClientWhatsAppConfig/List",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "ClientWhatsAppConfig",
                                                                                                            "List"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"displayName\": \"\",\n  \"phoneNumber\": \"\",\n  \"wabaID\": \"\",\n  \"phoneNumberID\": \"\",\n  \"accessToken\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0,\n  \"orderBy\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/ClientWhatsAppConfig/List**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"Items\": [\n    {\n      \"ID\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\",\n      \"WabaID\": \"123456789012345\",\n      \"PhoneNumberId\": \"987654321098765\",\n      \"DisplayName\": \"Vision Optics Support\",\n      \"IsActive\": true,\n      \"CreatedDate\": \"2024-01-15T10:30:00\"\n    }\n  ],\n  \"Total\": 1,\n  \"PageNumber\": 1,\n  \"PageSize\": 20\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/ClientWhatsAppConfig/List",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "ClientWhatsAppConfig",
                                                                                                            "List"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"displayName\": \"\",\n  \"phoneNumber\": \"\",\n  \"wabaID\": \"\",\n  \"phoneNumberID\": \"\",\n  \"accessToken\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0,\n  \"orderBy\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/ClientWhatsAppConfig/List**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/ClientWhatsAppConfig/List",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "ClientWhatsAppConfig",
                                                                                                            "List"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"companyID\": {{companyId}},\n  \"branchID\": {{branchId}},\n  \"displayName\": \"\",\n  \"phoneNumber\": \"\",\n  \"wabaID\": \"\",\n  \"phoneNumberID\": \"\",\n  \"accessToken\": \"\",\n  \"fromPage\": 0,\n  \"toPage\": 0,\n  \"orderBy\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/ClientWhatsAppConfig/List**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Create or update WhatsApp configuration",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Content-Type",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/ClientWhatsAppConfig/Save",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "ClientWhatsAppConfig",
                                                                               "Save"
                                                                           ]
                                                              },
                                                      "body":  {
                                                                   "mode":  "raw",
                                                                   "raw":  "{\n  \"encryptedWhatsAppConfigID\": \"\",\n  \"wabaID\": \"\",\n  \"wabaName\": \"\",\n  \"phoneNumberID\": \"\",\n  \"phoneNumber\": \"\",\n  \"accessToken\": \"\",\n  \"displayName\": \"\",\n  \"isActive\": false,\n  \"status\": \"\",\n  \"webhookURL\": \"\",\n  \"remarks\": \"\"\n}",
                                                                   "options":  {
                                                                                   "raw":  {
                                                                                               "language":  "json"
                                                                                           }
                                                                               }
                                                               },
                                                      "description":  "**POST /api/ClientWhatsAppConfig/Save**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/ClientWhatsAppConfig/Save",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "ClientWhatsAppConfig",
                                                                                                            "Save"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"encryptedWhatsAppConfigID\": \"\",\n  \"wabaID\": \"\",\n  \"wabaName\": \"\",\n  \"phoneNumberID\": \"\",\n  \"phoneNumber\": \"\",\n  \"accessToken\": \"\",\n  \"displayName\": \"\",\n  \"isActive\": false,\n  \"status\": \"\",\n  \"webhookURL\": \"\",\n  \"remarks\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/ClientWhatsAppConfig/Save**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": true,\n  \"message\": \"WhatsApp configuration saved successfully.\",\n  \"id\": \"Q2ZQdGhSZVhBaVlXTnpaWFF3TWk0d01B\"\n}"
                                                       },
                                                       {
                                                           "name":  "400 Bad Request",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/ClientWhatsAppConfig/Save",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "ClientWhatsAppConfig",
                                                                                                            "Save"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"encryptedWhatsAppConfigID\": \"\",\n  \"wabaID\": \"\",\n  \"wabaName\": \"\",\n  \"phoneNumberID\": \"\",\n  \"phoneNumber\": \"\",\n  \"accessToken\": \"\",\n  \"displayName\": \"\",\n  \"isActive\": false,\n  \"status\": \"\",\n  \"webhookURL\": \"\",\n  \"remarks\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/ClientWhatsAppConfig/Save**"
                                                                               },
                                                           "status":  "Bad Request",
                                                           "code":  400,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": false,\n  \"message\": \"Validation error message.\"\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/ClientWhatsAppConfig/Save",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "ClientWhatsAppConfig",
                                                                                                            "Save"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"encryptedWhatsAppConfigID\": \"\",\n  \"wabaID\": \"\",\n  \"wabaName\": \"\",\n  \"phoneNumberID\": \"\",\n  \"phoneNumber\": \"\",\n  \"accessToken\": \"\",\n  \"displayName\": \"\",\n  \"isActive\": false,\n  \"status\": \"\",\n  \"webhookURL\": \"\",\n  \"remarks\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/ClientWhatsAppConfig/Save**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [
                                                                                                  {
                                                                                                      "key":  "Content-Type",
                                                                                                      "value":  "application/json"
                                                                                                  }
                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/ClientWhatsAppConfig/Save",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "ClientWhatsAppConfig",
                                                                                                            "Save"
                                                                                                        ]
                                                                                           },
                                                                                   "body":  {
                                                                                                "mode":  "raw",
                                                                                                "raw":  "{\n  \"encryptedWhatsAppConfigID\": \"\",\n  \"wabaID\": \"\",\n  \"wabaName\": \"\",\n  \"phoneNumberID\": \"\",\n  \"phoneNumber\": \"\",\n  \"accessToken\": \"\",\n  \"displayName\": \"\",\n  \"isActive\": false,\n  \"status\": \"\",\n  \"webhookURL\": \"\",\n  \"remarks\": \"\"\n}",
                                                                                                "options":  {
                                                                                                                "raw":  {
                                                                                                                            "language":  "json"
                                                                                                                        }
                                                                                                            }
                                                                                            },
                                                                                   "description":  "**POST /api/ClientWhatsAppConfig/Save**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Get template by ID",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/{{encTemplateId}}",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "WhatsAppTemplateMaster",
                                                                               "{{encTemplateId}}"
                                                                           ]
                                                              },
                                                      "description":  "**GET /api/WhatsAppTemplateMaster/{id}**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/{{encTemplateId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "WhatsAppTemplateMaster",
                                                                                                            "{{encTemplateId}}"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/WhatsAppTemplateMaster/{id}**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"ID\": 1,\n  \"CompanyID\": 5,\n  \"BranchID\": null,\n  \"TemplateName\": \"order_confirmation\",\n  \"TemplateCode\": \"ORDER_CONF_01\",\n  \"Category\": \"TRANSACTIONAL\",\n  \"Language\": \"en\",\n  \"VariableCount\": 3,\n  \"DisplayName\": \"Order Confirmation\",\n  \"HeaderType\": \"TEXT\",\n  \"HeaderContent\": \"Your order is confirmed!\",\n  \"BodyContent\": \"Dear {{1}}, your order {{2}} worth ₹{{3}} has been confirmed.\",\n  \"FooterContent\": \"Vision Optics\",\n  \"ButtonConfig\": \"[{\\\"type\\\":\\\"URL\\\",\\\"text\\\":\\\"View Order\\\",\\\"url\\\":\\\"https://example.com/order/{{1}}\\\"}]\",\n  \"MetaCategory\": \"UTILITY\",\n  \"MetaLanguage\": \"en_US\",\n  \"ApprovalStatus\": \"APPROVED\",\n  \"RejectionReason\": null,\n  \"SubmittedToMetaAt\": \"2024-01-01T00:00:00\",\n  \"LastStatusCheckAt\": \"2024-01-15T08:00:00\",\n  \"CreatedDate\": \"2024-01-01T00:00:00\"\n}"
                                                       },
                                                       {
                                                           "name":  "404 Not Found",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/{{encTemplateId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "WhatsAppTemplateMaster",
                                                                                                            "{{encTemplateId}}"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/WhatsAppTemplateMaster/{id}**"
                                                                               },
                                                           "status":  "Not Found",
                                                           "code":  404,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Template not found.\""
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/{{encTemplateId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "WhatsAppTemplateMaster",
                                                                                                            "{{encTemplateId}}"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/WhatsAppTemplateMaster/{id}**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/{{encTemplateId}}",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "WhatsAppTemplateMaster",
                                                                                                            "{{encTemplateId}}"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**GET /api/WhatsAppTemplateMaster/{id}**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "List approved templates",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/approved?companyId={{companyId}}\u0026branchId={{branchId}}\u0026templateName=\u0026category=UTILITY\u0026language=en\u0026fromPage=1\u0026toPage=50\u0026orderBy=",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "WhatsAppTemplateMaster",
                                                                               "approved"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "companyId",
                                                                                    "value":  "{{companyId}}",
                                                                                    "description":  "integer(int64)"
                                                                                },
                                                                                {
                                                                                    "key":  "branchId",
                                                                                    "value":  "{{branchId}}",
                                                                                    "description":  "integer(int64)"
                                                                                },
                                                                                {
                                                                                    "key":  "templateName",
                                                                                    "value":  "",
                                                                                    "description":  "string"
                                                                                },
                                                                                {
                                                                                    "key":  "category",
                                                                                    "value":  "UTILITY",
                                                                                    "description":  "string"
                                                                                },
                                                                                {
                                                                                    "key":  "language",
                                                                                    "value":  "en",
                                                                                    "description":  "string"
                                                                                },
                                                                                {
                                                                                    "key":  "fromPage",
                                                                                    "value":  "1",
                                                                                    "description":  "integer(int32)"
                                                                                },
                                                                                {
                                                                                    "key":  "toPage",
                                                                                    "value":  "50",
                                                                                    "description":  "integer(int32)"
                                                                                },
                                                                                {
                                                                                    "key":  "orderBy",
                                                                                    "value":  "",
                                                                                    "description":  "string"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/WhatsAppTemplateMaster/approved**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/approved?companyId={{companyId}}\u0026branchId={{branchId}}\u0026templateName=\u0026category=UTILITY\u0026language=en\u0026fromPage=1\u0026toPage=50\u0026orderBy=",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "WhatsAppTemplateMaster",
                                                                                                            "approved"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "companyId",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "branchId",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "templateName",
                                                                                                                 "value":  "",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "category",
                                                                                                                 "value":  "UTILITY",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "language",
                                                                                                                 "value":  "en",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "fromPage",
                                                                                                                 "value":  "1",
                                                                                                                 "description":  "integer(int32)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "toPage",
                                                                                                                 "value":  "50",
                                                                                                                 "description":  "integer(int32)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "orderBy",
                                                                                                                 "value":  "",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/WhatsAppTemplateMaster/approved**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "[\n  {\n    \"ID\": 1,\n    \"CompanyID\": 5,\n    \"BranchID\": null,\n    \"TemplateName\": \"order_confirmation\",\n    \"TemplateCode\": \"ORDER_CONF_01\",\n    \"Category\": \"TRANSACTIONAL\",\n    \"Language\": \"en\",\n    \"VariableCount\": 3,\n    \"DisplayName\": \"Order Confirmation\",\n    \"HeaderType\": \"TEXT\",\n    \"HeaderContent\": \"Your order is confirmed!\",\n    \"BodyContent\": \"Dear {{1}}, your order {{2}} worth ₹{{3}} has been confirmed.\",\n    \"FooterContent\": \"Vision Optics\",\n    \"ButtonConfig\": null,\n    \"MetaCategory\": \"UTILITY\",\n    \"MetaLanguage\": \"en_US\",\n    \"ApprovalStatus\": \"APPROVED\",\n    \"RejectionReason\": null,\n    \"SubmittedToMetaAt\": \"2024-01-01T00:00:00\",\n    \"LastStatusCheckAt\": \"2024-01-15T08:00:00\",\n    \"CreatedDate\": \"2024-01-01T00:00:00\"\n  }\n]"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/approved?companyId={{companyId}}\u0026branchId={{branchId}}\u0026templateName=\u0026category=UTILITY\u0026language=en\u0026fromPage=1\u0026toPage=50\u0026orderBy=",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "WhatsAppTemplateMaster",
                                                                                                            "approved"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "companyId",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "branchId",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "templateName",
                                                                                                                 "value":  "",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "category",
                                                                                                                 "value":  "UTILITY",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "language",
                                                                                                                 "value":  "en",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "fromPage",
                                                                                                                 "value":  "1",
                                                                                                                 "description":  "integer(int32)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "toPage",
                                                                                                                 "value":  "50",
                                                                                                                 "description":  "integer(int32)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "orderBy",
                                                                                                                 "value":  "",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/WhatsAppTemplateMaster/approved**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/approved?companyId={{companyId}}\u0026branchId={{branchId}}\u0026templateName=\u0026category=UTILITY\u0026language=en\u0026fromPage=1\u0026toPage=50\u0026orderBy=",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "WhatsAppTemplateMaster",
                                                                                                            "approved"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "companyId",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "branchId",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "templateName",
                                                                                                                 "value":  "",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "category",
                                                                                                                 "value":  "UTILITY",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "language",
                                                                                                                 "value":  "en",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "fromPage",
                                                                                                                 "value":  "1",
                                                                                                                 "description":  "integer(int32)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "toPage",
                                                                                                                 "value":  "50",
                                                                                                                 "description":  "integer(int32)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "orderBy",
                                                                                                                 "value":  "",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/WhatsAppTemplateMaster/approved**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "List message templates",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/list?companyId={{companyId}}\u0026branchId={{branchId}}\u0026templateName=\u0026category=UTILITY\u0026language=en\u0026isActive=true\u0026fromPage=1\u0026toPage=50\u0026orderBy=",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "WhatsAppTemplateMaster",
                                                                               "list"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "companyId",
                                                                                    "value":  "{{companyId}}",
                                                                                    "description":  "integer(int64)"
                                                                                },
                                                                                {
                                                                                    "key":  "branchId",
                                                                                    "value":  "{{branchId}}",
                                                                                    "description":  "integer(int64)"
                                                                                },
                                                                                {
                                                                                    "key":  "templateName",
                                                                                    "value":  "",
                                                                                    "description":  "string"
                                                                                },
                                                                                {
                                                                                    "key":  "category",
                                                                                    "value":  "UTILITY",
                                                                                    "description":  "string"
                                                                                },
                                                                                {
                                                                                    "key":  "language",
                                                                                    "value":  "en",
                                                                                    "description":  "string"
                                                                                },
                                                                                {
                                                                                    "key":  "isActive",
                                                                                    "value":  "true",
                                                                                    "description":  "boolean"
                                                                                },
                                                                                {
                                                                                    "key":  "fromPage",
                                                                                    "value":  "1",
                                                                                    "description":  "integer(int32)"
                                                                                },
                                                                                {
                                                                                    "key":  "toPage",
                                                                                    "value":  "50",
                                                                                    "description":  "integer(int32)"
                                                                                },
                                                                                {
                                                                                    "key":  "orderBy",
                                                                                    "value":  "",
                                                                                    "description":  "string"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "**GET /api/WhatsAppTemplateMaster/list**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/list?companyId={{companyId}}\u0026branchId={{branchId}}\u0026templateName=\u0026category=UTILITY\u0026language=en\u0026isActive=true\u0026fromPage=1\u0026toPage=50\u0026orderBy=",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "WhatsAppTemplateMaster",
                                                                                                            "list"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "companyId",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "branchId",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "templateName",
                                                                                                                 "value":  "",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "category",
                                                                                                                 "value":  "UTILITY",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "language",
                                                                                                                 "value":  "en",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "isActive",
                                                                                                                 "value":  "true",
                                                                                                                 "description":  "boolean"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "fromPage",
                                                                                                                 "value":  "1",
                                                                                                                 "description":  "integer(int32)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "toPage",
                                                                                                                 "value":  "50",
                                                                                                                 "description":  "integer(int32)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "orderBy",
                                                                                                                 "value":  "",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/WhatsAppTemplateMaster/list**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "[\n  {\n    \"ID\": 1,\n    \"TemplateName\": \"order_confirmation\",\n    \"TemplateCode\": \"ORDER_CONF_01\",\n    \"Category\": \"TRANSACTIONAL\",\n    \"DisplayName\": \"Order Confirmation\",\n    \"ApprovalStatus\": \"APPROVED\",\n    \"CreatedDate\": \"2024-01-01T00:00:00\"\n  },\n  {\n    \"ID\": 2,\n    \"TemplateName\": \"welcome_message\",\n    \"TemplateCode\": \"WELCOME_01\",\n    \"Category\": \"MARKETING\",\n    \"DisplayName\": \"Welcome Message\",\n    \"ApprovalStatus\": \"PENDING\",\n    \"CreatedDate\": \"2024-01-10T00:00:00\"\n  }\n]"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/list?companyId={{companyId}}\u0026branchId={{branchId}}\u0026templateName=\u0026category=UTILITY\u0026language=en\u0026isActive=true\u0026fromPage=1\u0026toPage=50\u0026orderBy=",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "WhatsAppTemplateMaster",
                                                                                                            "list"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "companyId",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "branchId",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "templateName",
                                                                                                                 "value":  "",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "category",
                                                                                                                 "value":  "UTILITY",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "language",
                                                                                                                 "value":  "en",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "isActive",
                                                                                                                 "value":  "true",
                                                                                                                 "description":  "boolean"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "fromPage",
                                                                                                                 "value":  "1",
                                                                                                                 "description":  "integer(int32)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "toPage",
                                                                                                                 "value":  "50",
                                                                                                                 "description":  "integer(int32)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "orderBy",
                                                                                                                 "value":  "",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/WhatsAppTemplateMaster/list**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "GET",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/list?companyId={{companyId}}\u0026branchId={{branchId}}\u0026templateName=\u0026category=UTILITY\u0026language=en\u0026isActive=true\u0026fromPage=1\u0026toPage=50\u0026orderBy=",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "WhatsAppTemplateMaster",
                                                                                                            "list"
                                                                                                        ],
                                                                                               "query":  [
                                                                                                             {
                                                                                                                 "key":  "companyId",
                                                                                                                 "value":  "{{companyId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "branchId",
                                                                                                                 "value":  "{{branchId}}",
                                                                                                                 "description":  "integer(int64)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "templateName",
                                                                                                                 "value":  "",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "category",
                                                                                                                 "value":  "UTILITY",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "language",
                                                                                                                 "value":  "en",
                                                                                                                 "description":  "string"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "isActive",
                                                                                                                 "value":  "true",
                                                                                                                 "description":  "boolean"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "fromPage",
                                                                                                                 "value":  "1",
                                                                                                                 "description":  "integer(int32)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "toPage",
                                                                                                                 "value":  "50",
                                                                                                                 "description":  "integer(int32)"
                                                                                                             },
                                                                                                             {
                                                                                                                 "key":  "orderBy",
                                                                                                                 "value":  "",
                                                                                                                 "description":  "string"
                                                                                                             }
                                                                                                         ]
                                                                                           },
                                                                                   "description":  "**GET /api/WhatsAppTemplateMaster/list**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  },
                                  {
                                      "name":  "Sync templates from Meta",
                                      "request":  {
                                                      "method":  "POST",
                                                      "header":  [

                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/sync",
                                                                  "host":  [
                                                                               "{{baseUrl}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "WhatsAppTemplateMaster",
                                                                               "sync"
                                                                           ]
                                                              },
                                                      "description":  "**POST /api/WhatsAppTemplateMaster/sync**"
                                                  },
                                      "response":  [
                                                       {
                                                           "name":  "200 OK",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/sync",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "WhatsAppTemplateMaster",
                                                                                                            "sync"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**POST /api/WhatsAppTemplateMaster/sync**"
                                                                               },
                                                           "status":  "OK",
                                                           "code":  200,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "{\n  \"success\": true,\n  \"message\": \"Template sync triggered successfully.\",\n  \"syncedCount\": 12\n}"
                                                       },
                                                       {
                                                           "name":  "401 Unauthorized",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/sync",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "WhatsAppTemplateMaster",
                                                                                                            "sync"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**POST /api/WhatsAppTemplateMaster/sync**"
                                                                               },
                                                           "status":  "Unauthorized",
                                                           "code":  401,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"Not logged in or missing required claims.\""
                                                       },
                                                       {
                                                           "name":  "500 Internal Server Error",
                                                           "originalRequest":  {
                                                                                   "method":  "POST",
                                                                                   "header":  [

                                                                                              ],
                                                                                   "url":  {
                                                                                               "raw":  "{{baseUrl}}/api/WhatsAppTemplateMaster/sync",
                                                                                               "host":  [
                                                                                                            "{{baseUrl}}"
                                                                                                        ],
                                                                                               "path":  [
                                                                                                            "api",
                                                                                                            "WhatsAppTemplateMaster",
                                                                                                            "sync"
                                                                                                        ]
                                                                                           },
                                                                                   "description":  "**POST /api/WhatsAppTemplateMaster/sync**"
                                                                               },
                                                           "status":  "Internal Server Error",
                                                           "code":  500,
                                                           "_postman_previewlanguage":  "json",
                                                           "header":  [
                                                                          {
                                                                              "key":  "Content-Type",
                                                                              "value":  "application/json"
                                                                          }
                                                                      ],
                                                           "body":  "\"An internal server error occurred.\""
                                                       }
                                                   ]
                                  }
                              ]
                 }
             ]
}