{"openapi":"3.0.2","info":{"title":"ABC Service","description":"Get Applications,Companies,Employees,Stations,UserInformation\n  and Post CreateUserPermissions,DeleteUserPermissions\n    SetCompanyRelations, UpdateUserPermissions  ","termsOfService":"http://api.abc.ca/terms","contact":{"name":"abc API Support","url":"https://www.abc.ca/en/customer-centre/contact","email":"api_products@abc.ca"},"version":"1.0.0"},"servers":[{"url":"https://api.abc.ca","description":"Production server"},{"url":"https://mtl-apimgmt30s:6113","description":"Development server"}],"paths":{"/abconedataservice/v1/userinformation":{"get":{"security":[{"bearerAuth":[]}],"tags":["abc ONE Data Service"],"summary":"Get User Information by passing User Name.","parameters":[{"in":"header","name":"Authorization","schema":{"type":"string","example":"Bearer tVSkIX8WSyIf1nrQx2oxDDo6GUhF"},"required":true},{"in":"header","name":"Request.Id","schema":{"type":"string","example":"abcr-nonprod|sbx|rrt-454406287724429283"},"required":true},{"in":"header","name":"Content-Type","schema":{"type":"string","example":"application/json"},"required":true},{"in":"query","name":"userName","schema":{"type":"string"},"required":true,"description":"UserName","example":"MIKE05, JOHN20"}],"responses":{"200":{"description":"Successfully retrieved user information","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction.","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/userinformation"},"examples":{"Get User Information response":{"description":"User Information Response","value":{"userInformation":{"userId":"abcRU123456","userStatus":"A","userName":"mike05","firstName":"mike05","lastName":"mike05","companyId":"000356","companyName":"Sheets and Graphics Limited"}}}}}}},"400":{"description":"BAD_REQUEST","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"BAD_REQUEST":{"value":{"error":{"status":400,"type":"BAD_REQUEST","serviceURI":"/abconedataservice/v1/userinformation","message":"Missing field(s) or value(s)","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"401":{"description":"Unauthorized","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Invalid Token":{"value":{"error":{"status":401,"type":"Invalid Token","serviceURI":"/abconedataservice/v1/userinformation","message":"Unauthorized","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"406":{"description":"The request is not valid - transactionId is missing","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"NOT FOUND":{"value":{"error":{"status":406,"type":"No Transaction Id","serviceURI":"/abconedataservice/v1/userinformation","message":"The request is not valid - transactionId is missing","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"500":{"description":"Internal server error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"INTERNAL":{"value":{"error":{"status":500,"type":"INTERNAL Server Error","serviceURI":"/abconedataservice/v1/userinformation","message":"Connection Error:  + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"503":{"description":"Connection Error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Connection Error":{"value":{"error":{"status":503,"type":"Connection Error","serviceURI":"/abconedataservice/v1/userinformation","message":"Connection Error: + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}}}}},"/abconedataservice/v1/companyemployees":{"get":{"security":[{"bearerAuth":[]}],"tags":["abc ONE Data Service"],"summary":"Get Employee's Information by passing Company Id.","parameters":[{"in":"header","name":"Authorization","schema":{"type":"string","example":"Bearer tVSkIX8WSyIf1nrQx2oxDDo6GUhF"},"required":true},{"in":"header","name":"Request.Id","schema":{"type":"string","example":"abcr-nonprod|sbx|rrt-454406287724429283"},"required":true},{"in":"header","name":"Content-Type","schema":{"type":"string","example":"application/json"},"required":true},{"in":"query","name":"companyId","schema":{"type":"string"},"required":true,"description":"Company Id","example":"000356, 000482"}],"responses":{"200":{"description":"Successfully retrieved employee information","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction.","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/employees"},"examples":{"Get Employee Information response":{"description":"Employee Information Response","value":{"employees":[{"userId":"abcRU123456","userStatus":"A","userName":"mike05","firstName":"mike05","lastName":"mike05","companyId":"000356","companyName":"Sheets and Graphics Limited"}]}}}}}},"400":{"description":"BAD_REQUEST","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"BAD_REQUEST":{"value":{"error":{"status":400,"type":"BAD_REQUEST","serviceURI":"/abconedataservice/v1/companyemployees","message":"Missing field(s) or value(s)","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"401":{"description":"Unauthorized","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Invalid Token":{"value":{"error":{"status":401,"type":"Invalid Token","serviceURI":"/abconedataservice/v1/companyemployees","message":"Unauthorized","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"406":{"description":"The request is not valid - transactionId is missing","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"NOT FOUND":{"value":{"error":{"status":406,"type":"No Transaction Id","serviceURI":"/abconedataservice/v1/companyemployees","message":"The request is not valid - transactionId is missing","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"500":{"description":"Internal server error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"INTERNAL":{"value":{"error":{"status":500,"type":"INTERNAL Server Error","serviceURI":"/abconedataservice/v1/companyemployees","message":"Connection Error:  + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"503":{"description":"Connection Error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Connection Error":{"value":{"error":{"status":503,"type":"Connection Error","serviceURI":"/abconedataservice/v1/companyemployees","message":"Connection Error: + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}}}}},"/abconedataservice/v1/usercompanies":{"get":{"security":[{"bearerAuth":[]}],"tags":["abc ONE Data Service"],"summary":"Get Company's Information by passing User Id.","parameters":[{"in":"header","name":"Authorization","schema":{"type":"string","example":"Bearer tVSkIX8WSyIf1nrQx2oxDDo6GUhF"},"required":true},{"in":"header","name":"Request.Id","schema":{"type":"string","example":"abcr-nonprod|sbx|rrt-454406287724429283"},"required":true},{"in":"header","name":"Content-Type","schema":{"type":"string","example":"application/json"},"required":true},{"in":"query","name":"userId","schema":{"type":"integer"},"required":true,"description":"UserId","example":"000356, 000352"}],"responses":{"200":{"description":"Successfully retrieved companies information","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction.","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companies"},"examples":{"Get companies response":{"description":"Companies Response","value":{"companies":[{"companyId":"737140","companyName":"VITERRA","633Id":"VITERRB","isParent":"Y"}]}}}}}},"400":{"description":"BAD_REQUEST","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"BAD_REQUEST":{"value":{"error":{"status":400,"type":"BAD_REQUEST","serviceURI":"/abconedataservice/v1/usercompanies","message":"Missing field(s) or value(s)","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"401":{"description":"Unauthorized","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Invalid Token":{"value":{"error":{"status":401,"type":"Invalid Token","serviceURI":"/abconedataservice/v1/usercompanies","message":"Unauthorized","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"406":{"description":"The request is not valid - transactionId is missing","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"NOT FOUND":{"value":{"error":{"status":406,"type":"No Transaction Id","serviceURI":"/abconedataservice/v1/usercompanies","message":"The request is not valid - transactionId is missing","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"500":{"description":"Internal server error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"INTERNAL":{"value":{"error":{"status":500,"type":"INTERNAL Server Error","serviceURI":"/abconedataservice/v1/usercompanies","message":"Connection Error:  + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"503":{"description":"Connection Error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Connection Error":{"value":{"error":{"status":503,"type":"Connection Error","serviceURI":"/abconedataservice/v1/usercompanies","message":"Connection Error: + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}}}}},"/abconedataservice/v1/stations":{"get":{"security":[{"bearerAuth":[]}],"tags":["abc ONE Data Service"],"summary":"Get Station's Information by passing Company Id.","parameters":[{"in":"header","name":"Authorization","schema":{"type":"string","example":"Bearer tVSkIX8WSyIf1nrQx2oxDDo6GUhF"},"required":true},{"in":"header","name":"Request.Id","schema":{"type":"string","example":"abcr-nonprod|sbx|rrt-454406287724429283"},"required":true},{"in":"header","name":"Content-Type","schema":{"type":"string","example":"application/json"},"required":true},{"in":"query","name":"companyId","schema":{"type":"string"},"required":true,"description":"Company Id","example":"0000503, 0000552"}],"responses":{"200":{"description":"Successfully retrieved stations information","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction.","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/stations"},"examples":{"Get stations response":{"description":"Stations Response","value":{"stations":[{"stationName":"OTTAWA YARD","station333":"OTTYARD","stationProvinceState":"OH","stationABBR":"AA","stationFSAC":"000003"}]}}}}}},"400":{"description":"BAD_REQUEST","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"BAD_REQUEST":{"value":{"error":{"status":400,"type":"BAD_REQUEST","serviceURI":"/abconedataservice/v1/stations","message":"Missing field(s) or value(s)","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"401":{"description":"Unauthorized","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Invalid Token":{"value":{"error":{"status":401,"type":"Invalid Token","serviceURI":"/abconedataservice/v1/stations","message":"Unauthorized","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"406":{"description":"The request is not valid - transactionId is missing","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"NOT FOUND":{"value":{"error":{"status":406,"type":"No Transaction Id","serviceURI":"/abconedataservice/v1/stations","message":"The request is not valid - transactionId is missing","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"500":{"description":"Internal server error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"INTERNAL":{"value":{"error":{"status":500,"type":"INTERNAL Server Error","serviceURI":"/abconedataservice/v1/stations","message":"Connection Error:  + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"503":{"description":"Connection Error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Connection Error":{"value":{"error":{"status":503,"type":"Connection Error","serviceURI":"/abconedataservice/v1/stations","message":"Connection Error: + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}}}}},"/abconedataservice/v1/applications":{"get":{"security":[{"bearerAuth":[]}],"tags":["abc ONE Data Service"],"summary":"Get Applications Details.","parameters":[{"in":"header","name":"Authorization","schema":{"type":"string","example":"Bearer tVSkIX8WSyIf1nrQx2oxDDo6GUhF"},"required":true},{"in":"header","name":"Request.Id","schema":{"type":"string","example":"abcr-nonprod|sbx|rrt-454406287724429283"},"required":true},{"in":"header","name":"Content-Type","schema":{"type":"string","example":"application/json"},"required":true}],"responses":{"200":{"description":"Successfully retrieved applications information","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction.","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/applications"},"examples":{"Get applications Information response":{"description":"Applications Response","value":{"applications":[{"appId":"8329M","appName":"Order In RailCars","riskLevelApp":"No","appCategory":"Shipping"}]}}}}}},"400":{"description":"BAD_REQUEST","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"BAD_REQUEST":{"value":{"error":{"status":400,"type":"BAD_REQUEST","serviceURI":"/abconedataservice/v1/applications","message":"Missing field(s) or value(s)","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"401":{"description":"Unauthorized","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Invalid Token":{"value":{"error":{"status":401,"type":"Invalid Token","serviceURI":"/abconedataservice/v1/applications","message":"Unauthorized","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"406":{"description":"The request is not valid - transactionId is missing","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"NOT FOUND":{"value":{"error":{"status":406,"type":"No Transaction Id","serviceURI":"/abconedataservice/v1/applications","message":"The request is not valid - transactionId is missing","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"500":{"description":"Internal server error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"INTERNAL":{"value":{"error":{"status":500,"type":"INTERNAL Server Error","serviceURI":"/abconedataservice/v1/applications","message":"Connection Error:  + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"503":{"description":"Connection Error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Connection Error":{"value":{"error":{"status":503,"type":"Connection Error","serviceURI":"/abconedataservice/v1/applications","message":"Connection Error: + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}}}}},"/abconedataservice/v1/companiesrelation":{"get":{"security":[{"bearerAuth":[]}],"tags":["abc ONE Data Service"],"summary":"Get Companies Relation Details.","parameters":[{"in":"header","name":"Authorization","schema":{"type":"string","example":"Bearer tVSkIX8WSyIf1nrQx2oxDDo6GUhF"},"required":true},{"in":"header","name":"Request.Id","schema":{"type":"string","example":"abcr-nonprod|sbx|rrt-454406287724429283"},"required":true},{"in":"header","name":"Content-Type","schema":{"type":"string","example":"application/json"},"required":true},{"in":"query","name":"companyId","schema":{"type":"string"},"required":false,"description":"Company Id","example":"0000503, 0000552"}],"responses":{"200":{"description":"Successfully retrieved companies relation details","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction.","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/companiesrelation"},"examples":{"Get companies relation response":{"description":"companies relation Response","value":{"companiesrelation":[{"grantorCompanyID":"000423","grantorCompanyName":"HUDSON & FILS INC","granteeCompanyID":"012232","granteeCompanyName":"ENTERPRISES D & P BERNIER","expiryDate":"2999-12-31","effectiveDate":"2006-09-29","type":"AP"}]}}}}}},"400":{"description":"BAD_REQUEST","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"BAD_REQUEST":{"value":{"error":{"status":400,"type":"BAD_REQUEST","serviceURI":"/abconedataservice/v1/companiesrelation","message":"Missing field(s) or value(s)","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"401":{"description":"Unauthorized","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Invalid Token":{"value":{"error":{"status":401,"type":"Invalid Token","serviceURI":"/abconedataservice/v1/companiesrelation","message":"Unauthorized","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"406":{"description":"The request is not valid - transactionId is missing","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"NOT FOUND":{"value":{"error":{"status":406,"type":"No Transaction Id","serviceURI":"/abconedataservice/v1/companiesrelation","message":"The request is not valid - transactionId is missing","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"500":{"description":"Internal server error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"INTERNAL":{"value":{"error":{"status":500,"type":"INTERNAL Server Error","serviceURI":"/abconedataservice/v1/companiesrelation","message":"Connection Error:  + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"503":{"description":"Connection Error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Connection Error":{"value":{"error":{"status":503,"type":"Connection Error","serviceURI":"/abconedataservice/v1/companiesrelation","message":"Connection Error: + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}}}}},"/abconedataservice/v1/listofallcompanies":{"get":{"security":[{"bearerAuth":[]}],"tags":["abc ONE Data Service"],"summary":"Get list of all companies.","parameters":[{"in":"header","name":"Authorization","schema":{"type":"string","example":"Bearer tVSkIX8WSyIf1nrQx2oxDDo6GUhF"},"required":true},{"in":"header","name":"Request.Id","schema":{"type":"string","example":"abcr-nonprod|sbx|rrt-454406287724429283"},"required":true},{"in":"header","name":"Content-Type","schema":{"type":"string","example":"application/json"},"required":true},{"in":"query","name":"searchString","schema":{"type":"integer"},"required":true,"description":"Search String","example":"VITERRA"}],"responses":{"200":{"description":"Successfully retrieved list of all companies","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction.","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/listofallcompanies"},"examples":{"Get list of all companies response":{"description":"List of all companies response","value":{"companies":[{"companyId":"737140","companyName":"VITERRA","633Id":"VITERRB"}]}}}}}},"400":{"description":"BAD_REQUEST","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"BAD_REQUEST":{"value":{"error":{"status":400,"type":"BAD_REQUEST","serviceURI":"/abconedataservice/v1/listofallcompanies","message":"Missing field(s) or value(s)","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"401":{"description":"Unauthorized","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Invalid Token":{"value":{"error":{"status":401,"type":"Invalid Token","serviceURI":"/abconedataservice/v1/listofallcompanies","message":"Unauthorized","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"406":{"description":"The request is not valid - transactionId is missing","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"NOT FOUND":{"value":{"error":{"status":406,"type":"No Transaction Id","serviceURI":"/abconedataservice/v1/listofallcompanies","message":"The request is not valid - transactionId is missing","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"500":{"description":"Internal server error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"INTERNAL":{"value":{"error":{"status":500,"type":"INTERNAL Server Error","serviceURI":"/abconedataservice/v1/listofallcompanies","message":"Connection Error:  + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"503":{"description":"Connection Error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Connection Error":{"value":{"error":{"status":503,"type":"Connection Error","serviceURI":"/abconedataservice/v1/listofallcompanies","message":"Connection Error: + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}}}}},"/abconedataservice/v1/createcompaniesrelation":{"post":{"security":[{"bearerAuth":[]}],"tags":["abc ONE Data Service"],"summary":"Create companies relation.","parameters":[{"in":"header","name":"Authorization","schema":{"type":"string","example":"Bearer tVSkIX8WSyIf1nrQx2oxDDo6GUhF"},"required":true},{"in":"header","name":"Request.Id","schema":{"type":"string","example":"abcr-nonprod|sbx|rrt-454406287724429283"},"required":true},{"in":"header","name":"Content-Type","schema":{"type":"string","example":"application/json"},"required":true}],"responses":{"201":{"description":"Successfully created companies relation","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction.","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/createcompaniesrelation"},"examples":{"Create companies relation response":{"description":"Create companies relation response","value":{"createcompaniesrelation":[{"appId":"8329M","appName":"Order In RailCars","riskLevelApp":"No","appCategory":"Shipping"}]}}}}}},"400":{"description":"BAD_REQUEST","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"BAD_REQUEST":{"value":{"error":{"status":400,"type":"BAD_REQUEST","serviceURI":"/abconedataservice/v1/createcompaniesrelation","message":"Missing field(s) or value(s)","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"401":{"description":"Unauthorized","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Invalid Token":{"value":{"error":{"status":401,"type":"Invalid Token","serviceURI":"/abconedataservice/v1/createcompaniesrelation","message":"Unauthorized","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"406":{"description":"The request is not valid - transactionId is missing","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"NOT FOUND":{"value":{"error":{"status":406,"type":"No Transaction Id","serviceURI":"/abconedataservice/v1/createcompaniesrelation","message":"The request is not valid - transactionId is missing","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"500":{"description":"Internal server error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"INTERNAL":{"value":{"error":{"status":500,"type":"INTERNAL Server Error","serviceURI":"/abconedataservice/v1/createcompaniesrelation","message":"Connection Error:  + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"503":{"description":"Connection Error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Connection Error":{"value":{"error":{"status":503,"type":"Connection Error","serviceURI":"/abconedataservice/v1/createcompaniesrelation","message":"Connection Error: + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}}}}},"/abconedataservice/v1/updatecompaniesrelation":{"post":{"security":[{"bearerAuth":[]}],"tags":["abc ONE Data Service"],"summary":"update companies relation.","parameters":[{"in":"header","name":"Authorization","schema":{"type":"string","example":"Bearer tVSkIX8WSyIf1nrQx2oxDDo6GUhF"},"required":true},{"in":"header","name":"Request.Id","schema":{"type":"string","example":"abcr-nonprod|sbx|rrt-454406287724429283"},"required":true},{"in":"header","name":"Content-Type","schema":{"type":"string","example":"application/json"},"required":true}],"responses":{"201":{"description":"Successfully updated companies relation","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction.","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/updatecompaniesrelation"},"examples":{"update companies relation response":{"description":"update companies relation response","value":{"updatecompaniesrelation":[{"appId":"8329M","appName":"Order In RailCars","riskLevelApp":"No","appCategory":"Shipping"}]}}}}}},"400":{"description":"BAD_REQUEST","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"BAD_REQUEST":{"value":{"error":{"status":400,"type":"BAD_REQUEST","serviceURI":"/abconedataservice/v1/updatecompaniesrelation","message":"Missing field(s) or value(s)","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"401":{"description":"Unauthorized","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Invalid Token":{"value":{"error":{"status":401,"type":"Invalid Token","serviceURI":"/abconedataservice/v1/updatecompaniesrelation","message":"Unauthorized","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"406":{"description":"The request is not valid - transactionId is missing","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"NOT FOUND":{"value":{"error":{"status":406,"type":"No Transaction Id","serviceURI":"/abconedataservice/v1/updatecompaniesrelation","message":"The request is not valid - transactionId is missing","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"500":{"description":"Internal server error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"INTERNAL":{"value":{"error":{"status":500,"type":"INTERNAL Server Error","serviceURI":"/abconedataservice/v1/updatecompaniesrelation","message":"Connection Error:  + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"503":{"description":"Connection Error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Connection Error":{"value":{"error":{"status":503,"type":"Connection Error","serviceURI":"/abconedataservice/v1/updatecompaniesrelation","message":"Connection Error: + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}}}}},"/abconedataservice/v1/createuserpermissions":{"post":{"security":[{"bearerAuth":[]}],"tags":["abc ONE Data Service"],"summary":"create user permissions.","parameters":[{"in":"header","name":"Authorization","schema":{"type":"string","example":"Bearer tVSkIX8WSyIf1nrQx2oxDDo6GUhF"},"required":true},{"in":"header","name":"Request.Id","schema":{"type":"string","example":"abcr-nonprod|sbx|rrt-454406287724429283"},"required":true},{"in":"header","name":"Content-Type","schema":{"type":"string","example":"application/json"},"required":true}],"responses":{"201":{"description":"Successfully created user permissions","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction.","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/createuserpermissions"},"examples":{"Create user permissions response":{"description":"Create user permissions response","value":{"createuserpermissions":[{"appId":"8329M","appName":"Order In RailCars","riskLevelApp":"No","appCategory":"Shipping"}]}}}}}},"400":{"description":"BAD_REQUEST","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"BAD_REQUEST":{"value":{"error":{"status":400,"type":"BAD_REQUEST","serviceURI":"/abconedataservice/v1/createuserpermissions","message":"Missing field(s) or value(s)","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"401":{"description":"Unauthorized","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Invalid Token":{"value":{"error":{"status":401,"type":"Invalid Token","serviceURI":"/abconedataservice/v1/createuserpermissions","message":"Unauthorized","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"406":{"description":"The request is not valid - transactionId is missing","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"NOT FOUND":{"value":{"error":{"status":406,"type":"No Transaction Id","serviceURI":"/abconedataservice/v1/createuserpermissions","message":"The request is not valid - transactionId is missing","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"500":{"description":"Internal server error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"INTERNAL":{"value":{"error":{"status":500,"type":"INTERNAL Server Error","serviceURI":"/abconedataservice/v1/createuserpermissions","message":"Connection Error:  + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"503":{"description":"Connection Error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Connection Error":{"value":{"error":{"status":503,"type":"Connection Error","serviceURI":"/abconedataservice/v1/createuserpermissions","message":"Connection Error: + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}}}}},"/abconedataservice/v1/updateuserpermissions":{"post":{"security":[{"bearerAuth":[]}],"tags":["abc ONE Data Service"],"summary":"Update user permissions.","parameters":[{"in":"header","name":"Authorization","schema":{"type":"string","example":"Bearer tVSkIX8WSyIf1nrQx2oxDDo6GUhF"},"required":true},{"in":"header","name":"Request.Id","schema":{"type":"string","example":"abcr-nonprod|sbx|rrt-454406287724429283"},"required":true},{"in":"header","name":"Content-Type","schema":{"type":"string","example":"application/json"},"required":true}],"responses":{"201":{"description":"Successfully updated user permissions","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction.","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/updateuserpermissions"},"examples":{"Update user permissions response":{"description":"Update user permissions response","value":{"updateuserpermissions":[{"appId":"8329M","appName":"Order In RailCars","riskLevelApp":"No","appCategory":"Shipping"}]}}}}}},"400":{"description":"BAD_REQUEST","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"BAD_REQUEST":{"value":{"error":{"status":400,"type":"BAD_REQUEST","serviceURI":"/abconedataservice/v1/updateuserpermissions","message":"Missing field(s) or value(s)","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"401":{"description":"Unauthorized","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Invalid Token":{"value":{"error":{"status":401,"type":"Invalid Token","serviceURI":"/abconedataservice/v1/updateuserpermissions","message":"Unauthorized","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"406":{"description":"The request is not valid - transactionId is missing","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"NOT FOUND":{"value":{"error":{"status":406,"type":"No Transaction Id","serviceURI":"/abconedataservice/v1/updateuserpermissions","message":"The request is not valid - transactionId is missing","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"500":{"description":"Internal server error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"INTERNAL":{"value":{"error":{"status":500,"type":"INTERNAL Server Error","serviceURI":"/abconedataservice/v1/updateuserpermissions","message":"Connection Error:  + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}},"503":{"description":"Connection Error","headers":{"transactionId":{"schema":{"type":"string"},"description":"Id of transaction","example":"abcr-nonprod|sbx|rrt-454406287724429283"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorSchema"},"examples":{"Connection Error":{"value":{"error":{"status":503,"type":"Connection Error","serviceURI":"/abconedataservice/v1/updateuserpermissions","message":"Connection Error: + errorMessage","transactionId":"abcr-nonprod|sbx|rrt-454406287724429283"}}}}}}}}}}},"components":{"schemas":{"userinformation":{"type":"object","properties":{"userId":{"type":"string","nullable":false,"description":"User Id","example":"0000503"},"userStatus":{"type":"string","nullable":false,"description":"User Status","example":"2"},"userName":{"type":"string","nullable":false,"description":"User Name","example":"MIKE08"},"firstName":{"type":"string","nullable":false,"description":"First Name","example":"MIKE08"},"lastName":{"type":"string","nullable":false,"description":"Last Name","example":"MIKE08"},"companyId":{"type":"string","nullable":false,"description":"Last Name","example":"013131"},"companyName":{"type":"string","nullable":false,"description":"Last Name","example":"KIA CANADA INC"}}},"employees":{"type":"object","properties":{"userId":{"type":"string","nullable":false,"description":"User Id","example":"0000503"},"userStatus":{"type":"string","nullable":false,"description":"User Status","example":"2"},"userName":{"type":"string","nullable":false,"description":"User Name","example":"MIKE08"},"firstName":{"type":"string","nullable":false,"description":"First Name","example":"MIKE08"},"lastName":{"type":"string","nullable":false,"description":"Last Name","example":"MIKE08"},"companyId":{"type":"string","nullable":false,"description":"Last Name","example":"013131"},"companyName":{"type":"string","nullable":false,"description":"Last Name","example":"KIA CANADA INC"}}},"companies":{"type":"object","properties":{"companyId":{"type":"string","nullable":false,"description":"Company Id","example":"0000503"},"companyName":{"type":"string","nullable":false,"description":"Company Name","example":"VITERRA"},"633Id":{"type":"string","nullable":false,"description":"633Id","example":"VITERRB"},"isParent":{"type":"string","nullable":false,"description":"Is it a parent company","example":"Y"}}},"stations":{"type":"object","properties":{"stationName":{"type":"string","nullable":false,"description":"Station Name","example":"OTTAWA YARD"},"station333":{"type":"string","nullable":false,"description":"Station 333","example":"OTTYARD"},"stationProvinceState":{"type":"string","nullable":false,"description":"Station Province State","example":"OH"},"stationABBR":{"type":"string","nullable":false,"description":"Station ABBR","example":"AA"},"stationFSAC":{"type":"string","nullable":false,"description":"Station FSAC","example":"000003"}}},"applications":{"type":"object","properties":{"appId":{"type":"string","nullable":false,"description":"Application Id","example":"8329M"},"appName":{"type":"string","nullable":false,"description":"Application Name","example":"Order In RailCars"},"riskLevelApp":{"type":"string","nullable":false,"description":"Risk Level App","example":"No"},"appCategory":{"type":"string","nullable":false,"description":"Application Category","example":"Shipping"}}},"companiesrelation":{"type":"object","properties":{"grantorCompanyID":{"type":"string","nullable":false,"description":"Grantor Company Id","example":"000423"},"grantorCompanyName":{"type":"string","nullable":false,"description":"Grantee Company Name","example":"HUDSON & FILS INC"},"granteeCompanyID":{"type":"string","nullable":false,"description":"Grantee Company Id","example":"012232"},"granteeCompanyName":{"type":"string","nullable":false,"description":"Grantee Company Name","example":"ENTERPRISES D & P BERNIER"},"expiryDate":{"type":"string","nullable":false,"description":"Expiry Date","example":"YYYY-MM-DD"},"effectiveDate":{"type":"string","nullable":false,"description":"Effective Date","example":"YYYY-MM-DD"},"type":{"type":"string","nullable":false,"description":"Type","example":"AP"}}},"listofallcompanies":{"type":"object","properties":{"companyId":{"type":"string","nullable":false,"description":"Company Id","example":"0000503"},"companyName":{"type":"string","nullable":false,"description":"Company Name","example":"VITERRA"},"633Id":{"type":"string","nullable":false,"description":"633Id","example":"VITERRB"}}},"createcompaniesrelation":{"type":"object","properties":{"appId":{"type":"string","nullable":false,"description":"Application Id","example":"8329M"},"appName":{"type":"string","nullable":false,"description":"Application Name","example":"Order In RailCars"},"riskLevelApp":{"type":"string","nullable":false,"description":"Risk Level App","example":"No"},"appCategory":{"type":"string","nullable":false,"description":"Application Category","example":"Shipping"}}},"updatecompaniesrelation":{"type":"object","properties":{"appId":{"type":"string","nullable":false,"description":"Application Id","example":"8329M"},"appName":{"type":"string","nullable":false,"description":"Application Name","example":"Order In RailCars"},"riskLevelApp":{"type":"string","nullable":false,"description":"Risk Level App","example":"No"},"appCategory":{"type":"string","nullable":false,"description":"Application Category","example":"Shipping"}}},"createuserpermissions":{"type":"object","properties":{"appId":{"type":"string","nullable":false,"description":"Application Id","example":"8329M"},"appName":{"type":"string","nullable":false,"description":"Application Name","example":"Order In RailCars"},"riskLevelApp":{"type":"string","nullable":false,"description":"Risk Level App","example":"No"},"appCategory":{"type":"string","nullable":false,"description":"Application Category","example":"Shipping"}}},"updateuserpermissions":{"type":"object","properties":{"appId":{"type":"string","nullable":false,"description":"Application Id","example":"8329M"},"appName":{"type":"string","nullable":false,"description":"Application Name","example":"Order In RailCars"},"riskLevelApp":{"type":"string","nullable":false,"description":"Risk Level App","example":"No"},"appCategory":{"type":"string","nullable":false,"description":"Application Category","example":"Shipping"}}},"errorSchema":{"type":"object","properties":{"error":{"type":"object","properties":{"status":{"type":"integer","description":"The HTTP status code generated by the origin server for this occurrence of the problem","example":503},"type":{"type":"string","description":"A human-readable explanation of the problem","example":"API POLICY"},"serviceURI":{"type":"string","format":"uri","description":"An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if de-referenced","example":"https://api.abc.ca/abcdataservice/v1/companyemployees"},"message":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem","example":"Services are currently unavailable to serve your request"},"transactionId":{"type":"string","description":"A unique Id that identifies the transaction issued by abc","example":"abcr-nonprod|sbx|rrt-310625583539978904"}}}}}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}}}