{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/open-data:tl-api-azurewebsites/article-post":{"post":{"operationId":"open_data_tl_api_azurewebsites_article_post","summary":"Add new article","description":"POST /api/Article","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/article-put":{"post":{"operationId":"open_data_tl_api_azurewebsites_article_put","summary":"update existing article","description":"PUT /api/Article","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/article-delete":{"post":{"operationId":"open_data_tl_api_azurewebsites_article_delete","summary":"Delete article from the system","description":"DELETE /api/Article","tags":["open-data"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"ArticleId":{"type":"integer","description":"indentity number(primary key) for article object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/article-update-article-gym-details":{"post":{"operationId":"open_data_tl_api_azurewebsites_article_update_article_gym_details","summary":"Add article details that associate with a Gym","description":"PUT /api/Article/ArticleGymDetails","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/article-get-addons":{"get":{"operationId":"open_data_tl_api_azurewebsites_article_get_addons","summary":"GET /api/Article/GetAddons","description":"GET /api/Article/GetAddons","tags":["open-data"],"parameters":[{"name":"searchText","in":"query","required":false,"description":"Search text - will be search by the name","schema":{"type":"string","description":"Search text - will be search by the name"}},{"name":"gymIds","in":"query","required":false,"description":"Comma separated gymIds deafult \"-1\" for all gyms","schema":{"type":"string","default":"-1","description":"Comma separated gymIds deafult \"-1\" for all gyms"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","default":"all"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/article-gym-article-details":{"get":{"operationId":"open_data_tl_api_azurewebsites_article_gym_article_details","summary":"Get Gym specific properties for article","description":"GET /api/Article/GymArticle/{articleId}/{gymId}","tags":["open-data"],"parameters":[{"name":"articleId","in":"query","required":true,"description":"indentity number(primary key) for article object","schema":{"type":"integer","description":"indentity number(primary key) for article object"}},{"name":"gymId","in":"query","required":true,"description":"indentity number(primary key) for gym object","schema":{"type":"integer","description":"indentity number(primary key) for gym object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/article-add-measure-unit":{"post":{"operationId":"open_data_tl_api_azurewebsites_article_add_measure_unit","summary":"Add measure unit","description":"POST /api/Article/MeasureUnit","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/article-get-measure-units":{"get":{"operationId":"open_data_tl_api_azurewebsites_article_get_measure_units","summary":"Get mesure units","description":"GET /api/Article/MeasureUnits","tags":["open-data"],"parameters":[{"name":"type","in":"query","required":false,"description":"type of the measure unit (all, item, service)","schema":{"type":"string","description":"type of the measure unit (all, item, service)"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/article-get-revenue-accounts":{"get":{"operationId":"open_data_tl_api_azurewebsites_article_get_revenue_accounts","summary":"Get Revenue Accounts","description":"GET /api/Article/RevenueAccounts","tags":["open-data"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/article-search":{"get":{"operationId":"open_data_tl_api_azurewebsites_article_search","summary":"Search articles It will only return basic information of article","description":"GET /api/Article/Search","tags":["open-data"],"parameters":[{"name":"searchText","in":"query","required":false,"description":"part of article name","schema":{"type":"string","description":"part of article name"}},{"name":"gymId","in":"query","required":false,"description":"-1 for all gyms","schema":{"type":"integer","default":-1,"description":"-1 for all gyms"}},{"name":"type","in":"query","required":false,"description":"filter article type. default is 'all'","schema":{"type":"string","default":"all","description":"filter article type. default is 'all'"}},{"name":"orderBy","in":"query","required":false,"description":"order by column.!-- invalid column will give internal server error","schema":{"type":"string","default":"1","description":"order by column.!-- invalid column will give internal server error"}},{"name":"limit","in":"query","required":false,"description":"number of recode in result and default is 100. use negative numbers to order by desc","schema":{"type":"integer","default":100,"description":"number of recode in result and default is 100. use negative numbers to order by desc"}},{"name":"offset","in":"query","required":false,"description":"number of recodes to skip","schema":{"type":"integer","default":0,"description":"number of recodes to skip"}},{"name":"activeStatus","in":"query","required":false,"description":"Active Status 1 : Active, 2: Inactive, 3: All, Default : 1","schema":{"type":"integer","default":1,"description":"Active Status 1 : Active, 2: Inactive, 3: All, Default : 1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/article-update-status":{"post":{"operationId":"open_data_tl_api_azurewebsites_article_update_status","summary":"Deactivate existing article","description":"PUT /api/Article/UpdateStatus","tags":["open-data"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"ArticleId":{"type":"integer"},"status":{"type":"integer","description":"1 : activate , 2 deactivate"},"userName":{"type":"string","description":"Updating user"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/article-get":{"get":{"operationId":"open_data_tl_api_azurewebsites_article_get","summary":"Get article details This will return all properties related to article entity","description":"GET /api/Article/{articleID}","tags":["open-data"],"parameters":[{"name":"articleID","in":"query","required":true,"description":"indentity number (primary key) for article object","schema":{"type":"integer","description":"indentity number (primary key) for article object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/auth-login":{"post":{"operationId":"open_data_tl_api_azurewebsites_auth_login","summary":"Authenticate and provide token for autherizations.","description":"POST /api/Auth/login","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/gym-get":{"get":{"operationId":"open_data_tl_api_azurewebsites_gym_get","summary":"Get gym details This will return all properties related to gym entity","description":"GET /api/Gym/{gymID}","tags":["open-data"],"parameters":[{"name":"gymID","in":"query","required":true,"description":"indentity number (primary key) for gym object","schema":{"type":"integer","description":"indentity number (primary key) for gym object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/membership-get":{"get":{"operationId":"open_data_tl_api_azurewebsites_membership_get","summary":"Get all of the members details This will return all properties related to member entity","description":"GET /api/Membership","tags":["open-data"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/membership-post":{"post":{"operationId":"open_data_tl_api_azurewebsites_membership_post","summary":"Add new Member","description":"POST /api/Membership","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/package-get":{"get":{"operationId":"open_data_tl_api_azurewebsites_package_get","summary":"Get package details by packageId","description":"GET /api/Package","tags":["open-data"],"parameters":[{"name":"packageId","in":"query","required":false,"description":"primary key of package entity","schema":{"type":"integer","description":"primary key of package entity"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/package-post":{"post":{"operationId":"open_data_tl_api_azurewebsites_package_post","summary":"Insert new package into the system","description":"POST /api/Package","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/package-put":{"post":{"operationId":"open_data_tl_api_azurewebsites_package_put","summary":"Update existing package by its ID","description":"PUT /api/Package","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/package-delete":{"post":{"operationId":"open_data_tl_api_azurewebsites_package_delete","summary":"Delete existing package","description":"DELETE /api/Package","tags":["open-data"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"PackageId":{"type":"integer","description":"primary key of package entity"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/package-search":{"get":{"operationId":"open_data_tl_api_azurewebsites_package_search","summary":"Search packages","description":"GET /api/Package/Search","tags":["open-data"],"parameters":[{"name":"searchText","in":"query","required":false,"description":"part of package name","schema":{"type":"string","description":"part of package name"}},{"name":"gymId","in":"query","required":false,"description":"primary key of TL gym entity","schema":{"type":"integer","default":-1,"description":"primary key of TL gym entity"}},{"name":"type","in":"query","required":false,"description":"filter package type.!-- default is 'all'","schema":{"type":"string","default":"all","description":"filter package type.!-- default is 'all'"}},{"name":"orderBy","in":"query","required":false,"description":"order by column.!-- invalid column will give internal server error","schema":{"type":"string","default":"1","description":"order by column.!-- invalid column will give internal server error"}},{"name":"limit","in":"query","required":false,"description":"number of recode in result and default is 100. use negative numbers to order by desc","schema":{"type":"integer","default":100,"description":"number of recode in result and default is 100. use negative numbers to order by desc"}},{"name":"offset","in":"query","required":false,"description":"number of recodes to skip","schema":{"type":"integer","default":0,"description":"number of recodes to skip"}},{"name":"activeStatus","in":"query","required":false,"description":"active status active : 1, inactive : 2, all 3, deafult : 1","schema":{"type":"integer","default":1,"description":"active status active : 1, inactive : 2, all 3, deafult : 1"}},{"name":"categoryId","in":"query","required":false,"description":"Packge Category Id","schema":{"type":"integer","default":-1,"description":"Packge Category Id"}},{"name":"startpPrice","in":"query","required":false,"description":"Start price of the price Range","schema":{"type":"number","default":0,"description":"Start price of the price Range"}},{"name":"endPrice","in":"query","required":false,"description":"End Price of the price Range","schema":{"type":"number","default":9999999,"description":"End Price of the price Range"}},{"name":"requestSource","in":"query","required":false,"description":"1 : MRM, 2 : Mobile","schema":{"type":"integer","default":1,"description":"1 : MRM, 2 : Mobile"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/package-update-status":{"post":{"operationId":"open_data_tl_api_azurewebsites_package_update_status","summary":"Status update of existing package","description":"PUT /api/Package/UpdateStatus","tags":["open-data"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"packageId":{"type":"integer","description":"package Id"},"status":{"type":"integer","default":1,"description":"status : 1 activate, 2 : deactivate"},"userName":{"type":"string","default":"system","description":"Status updated User"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/status-get":{"get":{"operationId":"open_data_tl_api_azurewebsites_status_get","summary":"Get the current status of message","description":"GET /api/Status","tags":["open-data"],"parameters":[{"name":"messageId","in":"query","required":false,"description":"respose of POST request","schema":{"type":"string","description":"respose of POST request"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/test-get":{"get":{"operationId":"open_data_tl_api_azurewebsites_test_get","summary":"Get the all Test objects.","description":"GET /api/Test","tags":["open-data"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/user-get":{"get":{"operationId":"open_data_tl_api_azurewebsites_user_get","summary":"Get all Users detail This will return all properties related to User entity","description":"GET /api/User","tags":["open-data"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/user-register-user":{"post":{"operationId":"open_data_tl_api_azurewebsites_user_register_user","summary":"Register a new User","description":"POST /api/User/registerUser","tags":["open-data"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"UserId":{"type":"integer","description":"Indentity number(primary key) for user object. Generated in DB table when inserting a record."},"AccountNumber":{"type":"string","description":"Account number of the user.It can be any stakeholder of the application.even can be a gym."},"GymNumber":{"type":"string","description":"If this user is a gym, then the gym number."},"ExternalEntityNumber":{"type":"string","description":"Entity number that make a relationship with BOX API DB."},"Name":{"type":"string","description":"Name of the user."},"Number":{"type":"string","description":"Unique number maintain by application to idenify user."},"IntroduceBy":{"type":"integer","description":"If Someone introduced this user to the system, then that user's UserId."},"Guardian":{"type":"integer","description":"Gaurdian of the this user if he/she is under 18 years old."},"TypeId":{"type":"integer","description":"Type of the user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/open-data:tl-api-azurewebsites/user-update-user":{"post":{"operationId":"open_data_tl_api_azurewebsites_user_update_user","summary":"Update an exsisting User","description":"PUT /api/User/updateuser","tags":["open-data"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"UserId":{"type":"integer","description":"Indentity number(primary key) for user object. Generated in DB table when inserting a record."},"AccountNumber":{"type":"string","description":"Account number of the user.It can be any stakeholder of the application.even can be a gym."},"GymNumber":{"type":"string","description":"If this user is a gym, then the gym number."},"ExternalEntityNumber":{"type":"string","description":"Entity number that make a relationship with BOX API DB."},"Name":{"type":"string","description":"Name of the user."},"Number":{"type":"string","description":"Unique number maintain by application to idenify user."},"IntroduceBy":{"type":"integer","description":"If Someone introduced this user to the system, then that user's UserId."},"Guardian":{"type":"integer","description":"Gaurdian of the this user if he/she is under 18 years old."},"TypeId":{"type":"integer","description":"Type of the user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}