Create a customer (INSERT)
How it works
Functions
A store procedure-based version of create-customer.jigx
# Jigx SQL function executing a stored procedure to create a new customer record.
provider: DATA_PROVIDER_SQL
connection: customer.azure # Use manage.jigx.com to configure a SQL connection
method: execute #Use SQL stored procedure to interact with the data in SQL
query: |
procedure: sp_InsertOrUpdateCustomer
# The stored procedure parameters are automatically populated by Jigx with the
# matching function parameters.
parameters:
CustomerId:
type: string
location: input
required: true
FirstName:
type: string
location: input
required: true
LastName:
type: string
location: input
required: true
Email:
type: string
location: input
required: true
PhoneNumber:
type: string
location: input
required: true
AddressLine1:
type: string
location: input
required: true
AddressLine2:
type: string
location: input
required: false
City:
type: string
location: input
required: true
ZipCode:
type: string
location: input
required: true
State:
type: string
location: input
required: true
Country:
type: string
location: input
required: trueA query-based version of create-customer.jigx
Jigs
Modify the list customers jig
The new customer jig
Last updated
Was this helpful?
