Every API here is available over the APIs.io API and to AI agents over MCP.
{"swagger":"2.0","info":{"version":"v1","title":"API"},"host":"secure.agco-ats.com","schemes":["https"],"paths":{"/api/v2/activities":{"get":{"tags":["Activities"],"summary":"Get Activities","description":"Gets a collection of Activities. When successful, the response is a PagedResponse of Activities. \r\n If unsuccessful, an appropriate ApiError is returned.","operationId":"Activities_GetActivities","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"limit","in":"query","description":"Optional. The page limit. If not specified, the default page limit is 10.","required":false,"type":"integer","format":"int32"},{"name":"offset","in":"query","description":"Optional. The page offset. If not specified, the default page offset is 0.","required":false,"type":"integer","format":"int32"},{"name":"isIncludeDeleted","in":"query","description":"Does it include deleted activity, or not","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/API.PagedResponse[BuildSystem.Shared.DTO.Activity]"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false},"post":{"tags":["Activities"],"summary":"Create an Activity","description":"Creates an Activity. The body of the POST is the Activity to create. The ActivityID will be assigned\r\n on creation of the Activity. When successful, the response is the ActivityID. If unsuccessful, an \r\n appropriate ApiError is returned.","operationId":"Activities_PostActivity","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"activity","in":"body","description":"The activity to create. The ActivityID will be assigned on creation of the Activity.","required":true,"schema":{"$ref":"#/definitions/BuildSystem.Shared.DTO.Activity"}}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/activities/{activityID}":{"get":{"tags":["Activities"],"summary":"Get an Activity by ID","description":"Gets an Activity by ID. When successful, the response is the requested Activity. If unsuccessful,\r\n an appropriate ApiError is returned.","operationId":"Activities_GetActivity","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"activityID","in":"path","description":"The ID of the Activity to get.","required":true,"type":"integer","format":"int32"},{"name":"isIncludeDeleted","in":"query","description":"Does it include deleted activity, or not","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/BuildSystem.Shared.DTO.Activity"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false},"put":{"tags":["Activities"],"summary":"Update an Activity","description":"Updates an Activity. The body of the PUT is the updated Activity. When successful, the response is empty.\r\n If unsuccessful, an appropriate ApiError is returned.","operationId":"Activities_PutActivity","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":[],"parameters":[{"name":"activityID","in":"path","description":"The id of the activity to update","required":true,"type":"integer","format":"int32"},{"name":"activity","in":"body","description":"The updated activity","required":true,"schema":{"$ref":"#/definitions/BuildSystem.Shared.DTO.Activity"}}],"responses":{"204":{"description":"No Content"},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false},"delete":{"tags":["Activities"],"summary":"Mark the delete flag for the Activity","description":"Deletes an Activity. When successful, the response is empty. If unsuccessful, an appropriate\r\n ApiError is returned.","operationId":"Activities_DeleteActivity","consumes":[],"produces":[],"parameters":[{"name":"activityID","in":"path","description":"The id of the activity to delete","required":true,"type":"integer","format":"int32"}],"responses":{"204":{"description":"No Content"},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/activityRuns":{"get":{"tags":["ActivityRuns"],"summary":"Get ActivityRuns","description":"Gets a collection of ActivityRuns. When successful, the response is a PagedResponse of ActivityRuns. \r\n If unsuccessful, an appropriate ApiError is returned.","operationId":"ActivityRuns_GetActivityRuns","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"limit","in":"query","description":"Optional. The page limit. If not specified, the default page limit is 10.","required":false,"type":"integer","format":"int32"},{"name":"offset","in":"query","description":"Optional. The page offset. If not specified, the default page offset is 0.","required":false,"type":"integer","format":"int32"},{"name":"status","in":"query","description":"Optional. Filter activity runs by status. Value should be a comma separated list of status to include.\r\n If not specified, the default status filter is “InProgress”.","required":false,"type":"string","enum":["Ready","InProgress","Succeeded","Cancelled","Failed"]}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/API.PagedResponse[BuildSystem.Shared.DTO.ActivityRun]"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/activityRuns/{activityRunID}":{"get":{"tags":["ActivityRuns"],"summary":"Get an ActivityRun by ID","description":"Gets an ActivityRun by ID. When successful, the response is the requested ActivityRun. If unsuccessful,\r\n an appropriate ApiError is returned.","operationId":"ActivityRuns_GetActivityRun","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"activityRunID","in":"path","description":"The ID of the ActivityRun to get.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/BuildSystem.Shared.DTO.ActivityRun"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false},"put":{"tags":["ActivityRuns"],"summary":"Update an ActivityRun","description":"Updates the ActivityRunStatus of an ActivityRun. The body of the PUT is the updated ActivityRunStatus.\r\n When successful, the response is empty. If unsuccessful, an appropriate ApiError is returned.","operationId":"ActivityRuns_PutActivityRun","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":[],"parameters":[{"name":"activityRunID","in":"path","description":"The ID of the ActivityRun to update ActivityRunStatus for.","required":true,"type":"integer","format":"int32"},{"name":"activityRun","in":"body","description":"The updated ActivityRun.","required":true,"schema":{"$ref":"#/definitions/BuildSystem.Shared.DTO.ActivityRun"}}],"responses":{"204":{"description":"No Content"},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/activityRuns/{activityRunID}/status":{"get":{"tags":["ActivityRuns"],"summary":"Get the ActivityRunStatus of an ActivityRun","description":"Gets the ActivityRunStatus of an ActivityRun. When successful, the response is the requested ActivityRunStatus.\r\n If unsuccessful, an appropriate ApiError is returned.","operationId":"ActivityRuns_GetActivityRunStatus","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"activityRunID","in":"path","description":"The ID of the ActivityRun to get ActivityRunStatus for.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/BuildSystem.Shared.DTO.ActivityRunStatus"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false},"put":{"tags":["ActivityRuns"],"summary":"Update the ActivityRunStatus of an ActivityRun","description":"Updates the ActivityRunStatus of an ActivityRun. The body of the PUT is the updated ActivityRunStatus.\r\n When successful, the response is empty. If unsuccessful, an appropriate ApiError is returned.","operationId":"ActivityRuns_PutActivityRunStatus","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":[],"parameters":[{"name":"activityRunID","in":"path","description":"The ID of the ActivityRun to update ActivityRunStatus for.","required":true,"type":"integer","format":"int32"},{"name":"activityRunStatus","in":"body","description":"The updated ActivityRunStatus.","required":true,"schema":{"$ref":"#/definitions/BuildSystem.Shared.DTO.ActivityRunStatus"}}],"responses":{"204":{"description":"No Content"},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/AftermarketServices/Certificates":{"get":{"tags":["AftermarketServices"],"summary":"No Documentation Found.","description":"No Documentation Found.","operationId":"AftermarketServices_GetCerts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/System.Object"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/AftermarketServices/ECUs/{serialNumber}":{"put":{"tags":["AftermarketServices"],"summary":"Activate or Deactivate an ECU, or Report an ECU as Damaged.","description":"No Documentation Found.","operationId":"AftermarketServices_PutECU","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"serialNumber","in":"path","description":"The serial number of the ECU.","required":true,"type":"string"},{"name":"ECU","in":"body","description":"The ecu to modify.","required":true,"schema":{"$ref":"#/definitions/AGCOPowerServices.Models.ECU"}},{"name":"EDTInstanceId","in":"query","description":"The EDT Instance Id of the kit calling this method.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AGCOPowerServices.Models.ECU"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/AftermarketServices/Engines/{serialNumber}/ProductionData":{"get":{"tags":["AftermarketServices"],"summary":"Get production calibration data for given engine.","description":"No Documentation Found.","operationId":"AftermarketServices_GetProductionData","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"serialNumber","in":"path","description":"The serial number of the engine.","required":true,"type":"string"},{"name":"EDTInstanceId","in":"query","description":"The EDT Instance Id of the kit calling this method.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/AGCOPowerServices.Models.ProductionData"}}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/AftermarketServices/Engines/{serialNumber}/IQACodes":{"get":{"tags":["AftermarketServices"],"summary":"Get injector codes given engine.","description":"No Documentation Found.","operationId":"AftermarketServices_GetEngineIQACodes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"serialNumber","in":"path","description":"The serial number of the engine.","required":true,"type":"string"},{"name":"EDTInstanceId","in":"query","description":"The EDT Instance Id of the kit calling this method.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"string"}}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false},"put":{"tags":["AftermarketServices"],"summary":"Report the IQA codes used by an engine","description":"No Documentation Found.","operationId":"AftermarketServices_PutIQACodes","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"serialNumber","in":"path","description":"The serial number of the Engine","required":true,"type":"string"},{"name":"IQACodes","in":"body","description":"A string array of IQA codes in physical order","required":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"EDTInstanceId","in":"query","description":"The EDT Instance Id of the kit calling this method.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"boolean"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/AftermarketServices/UserStatuses":{"get":{"tags":["AftermarketServices"],"summary":"Retrieve the status of an EDT Kit Registration with AGCO Power Web Services","description":"No Documentation Found.","operationId":"AftermarketServices_GetUserStatus","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"voucherCode","in":"query","required":true,"type":"string"},{"name":"dealerCode","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AGCOPowerServices.Models.UserStatus"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false},"put":{"tags":["AftermarketServices"],"summary":"Update the status of an EDT Kit Registration with AGCO Power Web Services","description":"No Documentation Found.","operationId":"AftermarketServices_UpdateUserStatus","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"userStatus","in":"body","required":true,"schema":{"$ref":"#/definitions/AGCOPowerServices.Models.UserStatus"}}],"responses":{"200":{"description":"OK","schema":{"type":"boolean"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/AftermarketServices/Hello":{"get":{"tags":["AftermarketServices"],"summary":"Check whether there is connectivity to AGCO Power Web Services","description":"No Documentation Found.","operationId":"AftermarketServices_GetConnectionStatus","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"boolean"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/agents":{"get":{"tags":["Agents"],"summary":"Get Agents","description":"Gets a collection of Agents. When successful, the response is a PagedResponse of Agents. \r\n If unsuccessful, an appropriate ApiError is returned.","operationId":"Agents_GetAgents","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"limit","in":"query","description":"Optional. The page limit. If not specified, the default page limit is 10.","required":false,"type":"integer","format":"int32"},{"name":"offset","in":"query","description":"Optional. The page offset. If not specified, the default page offset is 0.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/API.PagedResponse[BuildSystem.Shared.DTO.Agent]"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false},"post":{"tags":["Agents"],"summary":"Create an Agent","description":"Creates an Agent. The body of the POST is the Agent to create. The AgentID will be assigned\r\n on creation of the Agent. When successful, the response is the AgentID. If unsuccessful, an\r\n appropriate ApiError is returned.","operationId":"Agents_PostAgent","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"agent","in":"body","description":"The Agent to create. The AgentID will be assigned on creation of the Agent.","required":true,"schema":{"$ref":"#/definitions/BuildSystem.Shared.DTO.Agent"}}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/agents/{agentID}":{"get":{"tags":["Agents"],"summary":"Get Agent","description":"Gets an Agent by ID. When successful, the response is the requested Agent. If unsuccessful,\r\n an appropriate ApiError is returned.","operationId":"Agents_GetAgentAsync","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"agentID","in":"path","description":"The id of the Agent to get.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/BuildSystem.Shared.DTO.Agent"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false},"put":{"tags":["Agents"],"summary":"Update an Agent","description":"Updates an Agent. The body of the PUT is the updated Agent. When successful, the response is empty.\r\n If unsuccessful, an appropriate ApiError is returned.","operationId":"Agents_PutAgent","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":[],"parameters":[{"name":"agentID","in":"path","description":"The id of the Agent to update.","required":true,"type":"integer","format":"int32"},{"name":"agent","in":"body","description":"The updated Agent","required":true,"schema":{"$ref":"#/definitions/BuildSystem.Shared.DTO.Agent"}}],"responses":{"204":{"description":"No Content"},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false},"delete":{"tags":["Agents"],"summary":"Delete an Agent","description":"Deletes an Agent. When successful, the response is empty. If unsuccessful, an appropriate\r\n ApiError is returned.","operationId":"Agents_DeleteAgent","consumes":[],"produces":[],"parameters":[{"name":"agentID","in":"path","description":"The id of the Agent to delete.","required":true,"type":"integer","format":"int32"}],"responses":{"204":{"description":"No Content"},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/agents/Current":{"get":{"tags":["Agents"],"summary":"Get Agent associated with the current user","description":"Gets the Agent associated with the current user. When successful, the response is the requested Agent. If unsuccessful,\r\n an appropriate ApiError is returned.","operationId":"Agents_GetCurrentAgentAsync","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/BuildSystem.Shared.DTO.Agent"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/agents/{agentID}/ActivityRun":{"get":{"tags":["Agents"],"summary":"Get an Agent's ActivityRun","description":"Gets the activity run assigned to an agent. When successful, the response is the ActivityRun\r\n assigned to the Agent. If unsuccessful, an appropriate ApiError is returned.","operationId":"Agents_GetAgentActivityRun","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"agentID","in":"path","description":"The id of the Agent to get.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/BuildSystem.Shared.DTO.ActivityRun"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false},"put":{"tags":["Agents"],"summary":"Update the ActivityRun assigned to the Agent.","description":"No Documentation Found.","operationId":"Agents_PutAgentActivityRun","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":[],"parameters":[{"name":"agentID","in":"path","description":"The id of the Agent to update.","required":true,"type":"integer","format":"int32"},{"name":"activityRun","in":"body","description":"The ActivityRun assigned to the agent. Only the ActivityRunID is used.","required":true,"schema":{"$ref":"#/definitions/BuildSystem.Shared.DTO.ActivityRun"}}],"responses":{"204":{"description":"No Content"},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/agents/Current/ActivityRun":{"get":{"tags":["Agents"],"summary":"Get the ActivityRun of Agent associated with the current user","description":"Gets the activity run assigned to an agent. When successful, the response is the ActivityRun\r\n assigned to the Agent. If unsuccessful, an appropriate ApiError is returned.","operationId":"Agents_GetCurrentAgentActivityRun","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/BuildSystem.Shared.DTO.ActivityRun"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/agents/{agentID}/Status":{"put":{"tags":["Agents"],"summary":"Update an Agent","description":"Updates the status of an Agent.The body of the PUT is the updated Agent status. When successful,\r\n the response is empty.If unsuccessful, an appropriate ApiError is returned.","operationId":"Agents_PutAgentStatus","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":[],"parameters":[{"name":"agentID","in":"path","description":"The id of the Agent to update.","required":true,"type":"integer","format":"int32"},{"name":"agentStatus","in":"body","description":"The updated AgentStatus.","required":true,"schema":{"$ref":"#/definitions/BuildSystem.Shared.DTO.AgentStatus"}}],"responses":{"204":{"description":"No Content"},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/AuthenticatedUsers/{UserID}/Tokens":{"put":{"tags":["Authentication"],"summary":"Manage API tokens.","description":"No Documentation Found.","operationId":"Authentication_PutManageTokens","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":[],"parameters":[{"name":"UserID","in":"path","required":true,"type":"integer","format":"int32"},{"name":"tokenOptions","in":"body","description":"The options for token management.","required":true,"schema":{"$ref":"#/definitions/API.Models.TokenOptions"}}],"responses":{"204":{"description":"No Content"}},"deprecated":false}},"/api/v2/Authentication":{"post":{"tags":["Authentication"],"summary":"Authenticate a user.","description":"No Documentation Found.","operationId":"Authentication_Default","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"credentials","in":"body","description":"Create a user account.","required":true,"schema":{"$ref":"#/definitions/API.Models.Credentials"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/API.Models.AuthenticatedUser"}}},"deprecated":false}},"/api/v2/Authentication/IsAlive":{"get":{"tags":["Authentication"],"summary":"Acknowledges the connection to the API","description":"No Documentation Found.","operationId":"Authentication_IsAlive","consumes":[],"produces":[],"responses":{"204":{"description":"No Content"}},"deprecated":false}},"/api/v2/Authentication/RequestPasswordReset":{"post":{"tags":["Authentication"],"summary":"Request a password reset.","description":"No Documentation Found.","operationId":"Authentication_RequestPasswordReset","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":[],"parameters":[{"name":"passwordResetRequest","in":"body","description":"The password reset request.","required":true,"schema":{"$ref":"#/definitions/API.Models.PasswordResetRequest"}}],"responses":{"204":{"description":"No Content"}},"deprecated":false}},"/api/v2/Authentication/ResetPasword":{"post":{"tags":["Authentication"],"summary":"Reset a password","description":"No Documentation Found.","operationId":"Authentication_ResetPasword","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":[],"parameters":[{"name":"passwordReset","in":"body","description":"The password reset detail.","required":true,"schema":{"$ref":"#/definitions/API.Models.PasswordReset"}}],"responses":{"204":{"description":"No Content"}},"deprecated":false}},"/api/v2/Authentication/OAuthRedirect":{"get":{"tags":["Authentication"],"summary":"Redirect to OIDC provider with configured and provided query parameters.","description":"Authentication required if not a known host. PKCE required if not a known host or if using response_mode=fragment.","operationId":"Authentication_OAuthRedirect","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"redirectUri","in":"query","description":"URI of target application to which to redirect once logged in to OIDC.","required":true,"type":"string"},{"name":"code_challenge","in":"query","description":"Value used PKCE to prevent abuse of authorization code.","required":false,"type":"string"},{"name":"code_challenge_method","in":"query","description":"Used for PKCE. Method used to compute code_challenge from code_verifier. Supported values: 'S256'.","required":false,"type":"string"},{"name":"response_mode","in":"query","description":"Optional. Location in redirect uri to place the authorization code. Supported values: 'fragment' and code'.","required":false,"type":"string"},{"name":"prompt","in":"query","description":"Optional. Supported values: 'none', 'consent', 'select_account', and 'login'.","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/System.Object"}}},"deprecated":false}},"/api/v2/Authentication/OAuthCallback":{"get":{"tags":["Authentication"],"summary":"Provided as \"redirectUri\" query parameter when redirecting to OIDC provider.","description":"No Documentation Found.","operationId":"Authentication_OAuthCallback","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"query","description":"Authorization code to be exchanged for an access token.","required":false,"type":"string"},{"name":"state","in":"query","description":"Copy of the state parameter sent to the OIDC provider.","required":false,"type":"string"},{"name":"error","in":"query","description":"Conditionally provided by OIDC provider in case of error.","required":false,"type":"string"},{"name":"error_description","in":"query","description":"Conditionally provided by OIDC provider in case of error.","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/System.Object"}}},"deprecated":false}},"/api/v2/Authentication/OAuthUser":{"post":{"tags":["Authentication"],"summary":"Login using OpenID.","description":"Exchange an either an authorization code or a refresh token for an access token. Usage of refresh token requires authentication.","operationId":"Authentication_OAuthUser","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"tokenParams","in":"body","description":"Either 'code' or 'refresh_token' is required.","required":true,"schema":{"$ref":"#/definitions/API.Models.OAuthTokenParams"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/API.Models.AuthenticatedUser"}}},"deprecated":false}},"/api/v2/Authentication/OAuthCertificate":{"get":{"tags":["Authentication"],"summary":"Retrieve the certificate used for OAuth Client Authentication.","description":"No Documentation Found.","operationId":"Authentication_OAuthCertificate","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"download","in":"query","description":"True to download as a .cer file. Returns certificate properties by default.","required":false,"type":"boolean"},{"name":"auth_verifier","in":"query","description":"Internal use.","required":false,"type":"string"},{"name":"auth_verifier_ms","in":"query","description":"Internal use.","required":false,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/System.Object"}}},"deprecated":false}},"/api/v2/AuthorizationCategories":{"get":{"tags":["AuthorizationCategories"],"summary":"Get authorization categories.","description":"No Documentation Found.","operationId":"AuthorizationCategories_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"limit","in":"query","description":"Optional. The page limit. If not specified, the default page limit is 10.","required":false,"type":"integer","format":"int32"},{"name":"offset","in":"query","description":"Optional. The page offset. If not specified, the default page offset is 0.","required":false,"type":"integer","format":"int32"},{"name":"userID","in":"query","description":"Optional. Filter by categories visible to the provided user with the provided userID.","required":false,"type":"integer","format":"int32"},{"name":"definitionID","in":"query","description":"Optional. Filter by categories containing a definition with the provided ID.","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/API.IPagedResponse[AuthorizationCodes.Shared.Models.Category]"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false},"post":{"tags":["AuthorizationCategories"],"summary":"Add an authorization category.","description":"No Documentation Found.","operationId":"AuthorizationCategories_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"category","in":"body","description":"An authorization category.","required":true,"schema":{"$ref":"#/definitions/AuthorizationCodes.Shared.Models.Category"}}],"responses":{"200":{"description":"OK","schema":{"type":"string"}},"default":{"description":"API Error Response","schema":{"$ref":"#/definitions/API.Models.ApiError"}}},"deprecated":false}},"/api/v2/AuthorizationCategories/{id}":{"put":{"tags":["AuthorizationCategories"],"summary":"Update an authorization category.","description":"No Documentation Found.","operationId":"AuthorizationCategories_Put","consumes":["application/json","text/json","application/xm
# --- truncated at 32 KB (341 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/agco/refs/heads/main/openapi/agco-ats-api-openapi.json