openapi: 3.2.0 info: title: Automile Client Contracts API version: v1 tags: - name: ClientContracts paths: /v1/client/contracts: get: tags: - ClientContracts summary: Get client contracts responses: '200': description: '' content: text/plain: schema: $ref: '#/components/schemas/HttpResponseMessage' application/json: schema: $ref: '#/components/schemas/HttpResponseMessage' text/json: schema: $ref: '#/components/schemas/HttpResponseMessage' '500': description: Internal server error security: - oauth2: [] x-summary-source: derived operationId: getV1ClientContracts x-operation-id-source: derived /v1/client/contracts/journeys: get: tags: - ClientContracts summary: Get client contracts journeys parameters: - in: query name: contractId schema: type: integer format: int32 - in: query name: fromDate schema: type: string format: date-time - in: query name: toDate schema: type: string format: date-time responses: '200': description: '' content: text/plain: schema: $ref: '#/components/schemas/HttpResponseMessage' application/json: schema: $ref: '#/components/schemas/HttpResponseMessage' text/json: schema: $ref: '#/components/schemas/HttpResponseMessage' '500': description: Internal server error security: - oauth2: [] x-summary-source: derived operationId: getV1ClientContractsJourneys x-operation-id-source: derived /v1/client/contracts/confirmjourneys: post: tags: - ClientContracts summary: Create client contracts confirmjourneys parameters: - in: query name: ids style: form explode: true schema: type: array items: format: int32 type: integer responses: '200': description: '' '500': description: Internal server error security: - oauth2: [] x-summary-source: derived operationId: postV1ClientContractsConfirmjourneys x-operation-id-source: derived components: schemas: HttpMethod: type: object properties: Method: type: string additionalProperties: false HttpRequestMessage: type: object properties: Version: $ref: '#/components/schemas/Version' VersionPolicy: format: int32 enum: - 0 - 1 - 2 type: integer Content: $ref: '#/components/schemas/HttpContent' Method: $ref: '#/components/schemas/HttpMethod' RequestUri: format: uri type: string Headers: type: array items: $ref: '#/components/schemas/StringStringIEnumerableKeyValuePair' readOnly: true Properties: type: object additionalProperties: {} readOnly: true Options: type: object additionalProperties: {} readOnly: true additionalProperties: false HttpResponseMessage: type: object properties: Version: $ref: '#/components/schemas/Version' Content: $ref: '#/components/schemas/HttpContent' StatusCode: format: int32 enum: - 100 - 101 - 102 - 103 - 200 - 201 - 202 - 203 - 204 - 205 - 206 - 207 - 208 - 226 - 300 - 301 - 302 - 303 - 304 - 305 - 306 - 307 - 308 - 400 - 401 - 402 - 403 - 404 - 405 - 406 - 407 - 408 - 409 - 410 - 411 - 412 - 413 - 414 - 415 - 416 - 417 - 421 - 422 - 423 - 424 - 426 - 428 - 429 - 431 - 451 - 500 - 501 - 502 - 503 - 504 - 505 - 506 - 507 - 508 - 510 - 511 type: integer ReasonPhrase: type: string Headers: type: array items: $ref: '#/components/schemas/StringStringIEnumerableKeyValuePair' readOnly: true TrailingHeaders: type: array items: $ref: '#/components/schemas/StringStringIEnumerableKeyValuePair' readOnly: true RequestMessage: $ref: '#/components/schemas/HttpRequestMessage' IsSuccessStatusCode: type: boolean readOnly: true additionalProperties: false StringStringIEnumerableKeyValuePair: type: object properties: Key: type: string Value: type: array items: type: string additionalProperties: false Version: type: object properties: Major: format: int32 type: integer readOnly: true Minor: format: int32 type: integer readOnly: true Build: format: int32 type: integer readOnly: true Revision: format: int32 type: integer readOnly: true MajorRevision: format: int32 type: integer readOnly: true MinorRevision: format: int32 type: integer readOnly: true additionalProperties: false HttpContent: type: object properties: Headers: type: array items: $ref: '#/components/schemas/StringStringIEnumerableKeyValuePair' readOnly: true additionalProperties: false securitySchemes: oauth2: type: oauth2 flows: implicit: scopes: read: Read access to protected resources write: Write access to protected resources authorizationUrl: https://api.automile.com/login/ description: OAuth2 Implicit Grant x-provenance: method: harvested publisher: Automileab source: https://api.automile.com/swagger/v1/swagger.json note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json); stamped by stamp-openapi-provenance.py (roadmap#793)