@@ -1237,6 +1237,9 @@ tags:
12371237- description: Creditcardtype contains details about Creditcardtypes
12381238 name: Object_Creditcardtype
12391239 x-displayName: Creditcardtype
1240+ - description: Currency contains details about Currencies
1241+ name: Object_Currency
1242+ x-displayName: Currency
12401243- description: Customer contains details about Customers
12411244 name: Object_Customer
12421245 x-displayName: Customer
@@ -4924,6 +4927,69 @@ paths:
49244927 x-usertypeextra: []
49254928 x-accepts:
49264929 - application/json
4930+ /2/object/currency/getAutocomplete/{sSelector}:
4931+ description: ""
4932+ get:
4933+ description: Get the list of Currency to be used in a dropdown or autocomplete
4934+ control.
4935+ operationId: Currency_GetAutocomplete_V2
4936+ parameters:
4937+ - description: The type of Currencies to return
4938+ explode: false
4939+ in: path
4940+ name: sSelector
4941+ required: true
4942+ schema:
4943+ enum:
4944+ - All
4945+ type: string
4946+ style: simple
4947+ - description: Specify which results we want to display.
4948+ explode: true
4949+ in: query
4950+ name: eFilterActive
4951+ required: false
4952+ schema:
4953+ default: Active
4954+ enum:
4955+ - All
4956+ - Active
4957+ - Inactive
4958+ type: string
4959+ style: form
4960+ - description: Allow to filter the returned results
4961+ explode: true
4962+ in: query
4963+ name: sQuery
4964+ required: false
4965+ schema:
4966+ type: string
4967+ style: form
4968+ - explode: false
4969+ in: header
4970+ name: Accept-Language
4971+ required: false
4972+ schema:
4973+ $ref: '#/components/schemas/Header-Accept-Language'
4974+ style: simple
4975+ responses:
4976+ "200":
4977+ content:
4978+ application/json:
4979+ schema:
4980+ $ref: '#/components/schemas/currency-getAutocomplete-v2-Response'
4981+ description: Successful response
4982+ security:
4983+ - Authorization: []
4984+ summary: Retrieve Currencies and IDs
4985+ tags:
4986+ - Object_Currency
4987+ x-permissions:
4988+ - All
4989+ x-usertypeextra:
4990+ - AgentBroker
4991+ x-accepts:
4992+ - application/json
49274993 /1/object/customer:
49284994 description: ""
49294995 post:
@@ -29896,6 +29962,10 @@ components:
2989629962 description: Whether the creditcardmerchant is active or not
2989729963 example: true
2989829964 type: boolean
29965+ Field-bCurrencyIsactive:
29966+ description: Whether the Currency is active or not
29967+ example: true
29968+ type: boolean
2989929969 Field-bCustomerAttendance:
2990029970 description: Whether if it's an attendance
2990129971 example: true
@@ -33192,6 +33262,11 @@ components:
3319233262 maximum: 255
3319333263 minimum: 0
3319433264 type: integer
33265+ Field-pkiCurrencyID:
33266+ description: The unique ID of the Currency.
33267+ example: 1
33268+ minimum: 0
33269+ type: integer
3319533270 Field-pkiCustomerID:
3319633271 description: The unique ID of the Customer.
3319733272 example: 18
@@ -34520,6 +34595,11 @@ components:
3452034595 example: Visa
3452134596 pattern: "^.{1,30}$"
3452234597 type: string
34598+ Field-sCurrencyDescriptionX:
34599+ description: The description of the Currency in the language of the requester
34600+ example: Canadian
34601+ pattern: "^.{1,20}$"
34602+ type: string
3452334603 Field-sCustomerCode:
3452434604 description: The code of the Customer
3452534605 example: EZMA1
@@ -45106,6 +45186,89 @@ components:
4510645186 required:
4510745187 - a_objCreditcardtype
4510845188 type: object
45189+ currency-AutocompleteElement-Response:
45190+ description: A Currency AutocompleteElement Response
45191+ example:
45192+ bCurrencyIsactive: true
45193+ pkiCurrencyID: 1
45194+ sCurrencyDescriptionX: Canadian
45195+ properties:
45196+ pkiCurrencyID:
45197+ description: The unique ID of the Currency.
45198+ example: 1
45199+ minimum: 0
45200+ type: integer
45201+ sCurrencyDescriptionX:
45202+ description: The description of the Currency in the language of the requester
45203+ example: Canadian
45204+ pattern: "^.{1,20}$"
45205+ type: string
45206+ bCurrencyIsactive:
45207+ description: Whether the Currency is active or not
45208+ example: true
45209+ type: boolean
45210+ required:
45211+ - bCurrencyIsactive
45212+ - pkiCurrencyID
45213+ - sCurrencyDescriptionX
45214+ type: object
45215+ currency-getAutocomplete-v2-Response:
45216+ allOf:
45217+ - properties:
45218+ mPayload:
45219+ $ref: '#/components/schemas/currency-getAutocomplete-v2-Response-mPayload'
45220+ required:
45221+ - mPayload
45222+ type: object
45223+ - $ref: '#/components/schemas/Common-Response'
45224+ description: Response for GET /2/object/currency/getAutocomplete
45225+ example:
45226+ objDebugPayload:
45227+ dtResponseDate: 2020-12-31 23:59:59
45228+ iVersionMax: 2
45229+ iVersionMin: 1
45230+ bVersionDeprecated: false
45231+ a_RequiredPermission:
45232+ - 117
45233+ - 117
45234+ mPayload:
45235+ a_objCurrency:
45236+ - bCurrencyIsactive: true
45237+ pkiCurrencyID: 1
45238+ sCurrencyDescriptionX: Canadian
45239+ - bCurrencyIsactive: true
45240+ pkiCurrencyID: 1
45241+ sCurrencyDescriptionX: Canadian
45242+ objDebug:
45243+ sMemoryUsage: "11,923MB"
45244+ sRunTime: 0.6084s
45245+ iSQLSelects: 3
45246+ iSQLQueries: 6
45247+ a_objSQLQuery:
45248+ - sQuery: SELECT * FROM table
45249+ fDuration: 1.0E-4
45250+ - sQuery: SELECT * FROM table
45251+ fDuration: 1.0E-4
45252+ type: object
45253+ currency-getAutocomplete-v2-Response-mPayload:
45254+ description: Payload for POST /2/object/currency/getAutocomplete
45255+ example:
45256+ a_objCurrency:
45257+ - bCurrencyIsactive: true
45258+ pkiCurrencyID: 1
45259+ sCurrencyDescriptionX: Canadian
45260+ - bCurrencyIsactive: true
45261+ pkiCurrencyID: 1
45262+ sCurrencyDescriptionX: Canadian
45263+ properties:
45264+ a_objCurrency:
45265+ description: An array of Currency autocomplete element response.
45266+ items:
45267+ $ref: '#/components/schemas/currency-AutocompleteElement-Response'
45268+ type: array
45269+ required:
45270+ - a_objCurrency
45271+ type: object
4510945272 customer-Request:
4511045273 description: A Customer Object
4511145274 properties:
@@ -122269,6 +122432,7 @@ x-tagGroups:
122269122432 - Object_Creditcardclient
122270122433 - Object_Creditcardmerchant
122271122434 - Object_Creditcardtype
122435+ - Object_Currency
122272122436 - Object_Customer
122273122437 - Object_Department
122274122438 - Object_Discussion
0 commit comments