Update CRUD Customers, PurchasedProducts to reflect new externalDeviceId spec
This commit is contained in:
parent
38094e7b29
commit
d3c9e3d36b
@ -1303,7 +1303,6 @@ paths:
|
|||||||
name: externalDeviceId
|
name: externalDeviceId
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
|
||||||
example: c5545584-04af-4c60-a955-d6a70baab848
|
example: c5545584-04af-4c60-a955-d6a70baab848
|
||||||
required: false
|
required: false
|
||||||
description: The external id of the device.
|
description: The external id of the device.
|
||||||
@ -2480,7 +2479,6 @@ components:
|
|||||||
format: uuid
|
format: uuid
|
||||||
externalDeviceId:
|
externalDeviceId:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
|
||||||
alias:
|
alias:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
@ -2599,7 +2597,6 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
externalDeviceId:
|
externalDeviceId:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
|
||||||
alias:
|
alias:
|
||||||
type: string
|
type: string
|
||||||
defaultCustomerProfileResponse:
|
defaultCustomerProfileResponse:
|
||||||
@ -2870,7 +2867,6 @@ components:
|
|||||||
type: integer
|
type: integer
|
||||||
externalDeviceId:
|
externalDeviceId:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
|
||||||
alias:
|
alias:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
|
|||||||
@ -1820,6 +1820,8 @@ components:
|
|||||||
customerDataItem: shippingAddress
|
customerDataItem: shippingAddress
|
||||||
- mandatoryCustomerDataItemId: 10
|
- mandatoryCustomerDataItemId: 10
|
||||||
customerDataItem: billingAddress
|
customerDataItem: billingAddress
|
||||||
|
- mandatoryCustomerDataItemId: 11
|
||||||
|
customerDataItem: startDate
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/mandatoryCustomerDataItemGetEntity'
|
$ref: '#/components/schemas/mandatoryCustomerDataItemGetEntity'
|
||||||
type: array
|
type: array
|
||||||
|
|||||||
@ -128,7 +128,7 @@ paths:
|
|||||||
"createdOn": "2024-10-04T12:34:56.000",
|
"createdOn": "2024-10-04T12:34:56.000",
|
||||||
"lastUpdatedOn": "2024-10-04T12:34:56.000",
|
"lastUpdatedOn": "2024-10-04T12:34:56.000",
|
||||||
"createdBy": "someuser",
|
"createdBy": "someuser",
|
||||||
"lastUpdatedBy": null,
|
"lastUpdatedBy": null
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"purchasedTapconnectTickets": [],
|
"purchasedTapconnectTickets": [],
|
||||||
@ -154,7 +154,7 @@ paths:
|
|||||||
"purchasedProductResourceId": "06dae996-cdfe-45f1-833a-720201c35114",
|
"purchasedProductResourceId": "06dae996-cdfe-45f1-833a-720201c35114",
|
||||||
"resourceName":
|
"resourceName":
|
||||||
{ "resourceNameId": 2, "name": "orders" },
|
{ "resourceNameId": 2, "name": "orders" },
|
||||||
"resourceIdentifier": "f809a6e1-1c8d-4f8e-8a6e-0d0b1e1e1e1e",
|
"resourceIdentifier": "f809a6e1-1c8d-4f8e-8a6e-0d0b1e1e1e1e"
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"purchasedGboProducts": [],
|
"purchasedGboProducts": [],
|
||||||
@ -170,6 +170,7 @@ paths:
|
|||||||
"lastUpdatedOn": "2024-10-04T12:34:56.000",
|
"lastUpdatedOn": "2024-10-04T12:34:56.000",
|
||||||
"createdBy": "user",
|
"createdBy": "user",
|
||||||
"lastUpdatedBy": "user",
|
"lastUpdatedBy": "user",
|
||||||
|
"externalDeviceId": "c5545584-04af-4c60-a955-d6a70baab848"
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"issuedVouchers": [],
|
"issuedVouchers": [],
|
||||||
@ -341,6 +342,7 @@ paths:
|
|||||||
"lastUpdatedOn": "2024-10-04T12:34:56.000",
|
"lastUpdatedOn": "2024-10-04T12:34:56.000",
|
||||||
"createdBy": "user",
|
"createdBy": "user",
|
||||||
"lastUpdatedBy": "user",
|
"lastUpdatedBy": "user",
|
||||||
|
"externalDeviceId": "c5545584-04af-4c60-a955-d6a70baab848"
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"issuedVouchers": [],
|
"issuedVouchers": [],
|
||||||
@ -775,18 +777,7 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/PostPurchasedTapConnectTicketRequest"
|
||||||
example:
|
|
||||||
{
|
|
||||||
"issuedAt": "2024-10-04T12:34:56.000",
|
|
||||||
"activatedAt": "2024-10-04T12:34:56.000",
|
|
||||||
"cancelledAt": null,
|
|
||||||
"ticketReference": "KJj43nejhbTxhr897287",
|
|
||||||
"createdOn": "2024-10-04T12:34:56.000",
|
|
||||||
"lastUpdatedOn": "2024-10-04T12:34:56.000",
|
|
||||||
"createdBy": "user",
|
|
||||||
"lastUpdatedBy": "user",
|
|
||||||
}
|
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"201":
|
||||||
description: Created
|
description: Created
|
||||||
@ -907,6 +898,12 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
example: user
|
example: user
|
||||||
description: The user that last updated the purchased Tapconnect ticket.
|
description: The user that last updated the purchased Tapconnect ticket.
|
||||||
|
- in: query
|
||||||
|
name: externalDeviceId
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
example: c5545584-04af-4c60-a955-d6a70baab848
|
||||||
|
description: The external id of the device.
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: OK
|
||||||
@ -929,6 +926,7 @@ paths:
|
|||||||
"lastUpdatedOn": "2024-10-04T12:34:56.000",
|
"lastUpdatedOn": "2024-10-04T12:34:56.000",
|
||||||
"createdBy": "user",
|
"createdBy": "user",
|
||||||
"lastUpdatedBy": "user",
|
"lastUpdatedBy": "user",
|
||||||
|
"externalDeviceId": "c5545584-04af-4c60-a955-d6a70baab848"
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
@ -968,7 +966,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/unavailable"
|
||||||
example:
|
example:
|
||||||
{
|
{
|
||||||
"purchasedTapconnectTicketId": "d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90",
|
"purchasedTapconnectTicketId": "d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"
|
||||||
}
|
}
|
||||||
/purchasedproducts/{purchasedProductId}/issuedvouchers:
|
/purchasedproducts/{purchasedProductId}/issuedvouchers:
|
||||||
parameters:
|
parameters:
|
||||||
@ -1178,6 +1176,47 @@ components:
|
|||||||
schemas:
|
schemas:
|
||||||
unavailable:
|
unavailable:
|
||||||
type: object
|
type: object
|
||||||
|
PostPurchasedTapConnectTicketRequest:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- issuedAt
|
||||||
|
- ticketReference
|
||||||
|
- createdOn
|
||||||
|
- lastUpdatedOn
|
||||||
|
- createdBy
|
||||||
|
properties:
|
||||||
|
issuedAt:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
example: 2024-10-04T12:34:56.000
|
||||||
|
activatedAt:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
example: 2024-10-04T12:34:56.000
|
||||||
|
cancelledAt:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
example: 2024-10-04T12:34:56.000
|
||||||
|
ticketReference:
|
||||||
|
type: string
|
||||||
|
example: KJj43nejhbTxhr897287
|
||||||
|
createdOn:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
example: 2024-10-04T12:34:56.000
|
||||||
|
lastUpdatedOn:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
example: 2024-10-04T12:34:56.000
|
||||||
|
createdBy:
|
||||||
|
type: string
|
||||||
|
example: John Doe
|
||||||
|
lastUpdatedBy:
|
||||||
|
type: string
|
||||||
|
example: John Doe
|
||||||
|
externalDeviceId:
|
||||||
|
type: string
|
||||||
|
example: c5545584-04af-4c60-a955-d6a70baab848
|
||||||
BulkResponseBody:
|
BulkResponseBody:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user