Ordyx Portal

Type Definitions
EmailTemplate
Object
body
string
dateCreated
Object
dateUpdated
Object
description
string
name
string
subject
string
templateId
integer
Param
Object
dateCreated
Object
dateUpdated
Object
name
string
paramId
integer
value
string
Partner
Object
buyRate
integer
city
string
country
string
crmId
string
dateCreated
Object
dateDisabled
Object
dateUpdated
Object
deskId
string
disabled
boolean
logoUrl
string
name
string
ordyxEmail
string
partnerId
integer
phone
string
postalCode
string
state
string
street
string
stripeId
string
timeZone
string
type
integer
value
string
website
string
User
Object
access
integer
admin
boolean
dateCreated
Object
dateDisabled
Object
dateUpdated
Object
disabled
boolean
email
string
firstName
string
fullName
string
invitation
string
lastName
string
password
string
phone
string
root
boolean
support
boolean
userId
integer
value
string
Admin

Group of methods used for root to create, update, delete entities such as the admin’s Users, Settings(parameters), Email templates and other things such as CRM/Desk/Stripe grants, tokens, and keys.

GET /admin/activity
PUT /admin/crm/revoke
GET /admin/desk/account/{name}
PUT /admin/desk/revoke
PUT /admin/init
GET /admin/param
PUT /admin/param
GET /admin/param/default
GET /admin/param/stripeKey
DELETE /admin/param/{paramId}
GET /admin/template
PUT /admin/template
GET /admin/template/{templateId}
DELETE /admin/template/{templateId}
GET /admin/user
PUT /admin/user
DELETE /admin/user/{userId}
GET /admin/user/{userId}
View Admin Activity
GET /admin/activity

GET the Admin’s recent activity in the portal

Request parameters

direction
string required
first
integer optional
Default:
0
from
string required
limit
integer optional
Default:
-1
partnerId
integer required
sort
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
Admin CRM (Revoke)
PUT /admin/crm/revoke

Revokes the Admin’s CRM token/key when session is expired or is User does not have the permissions

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
Update View Admin Desk Account
GET /admin/desk/account/{name}

GET the Admin’s desk account information.

Path variables

name
string required

The name of the Admins Desk Account

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
Update Admin Desk (Revoke)
PUT /admin/desk/revoke

revokes the admins Desk token if user does not have permission or session expires.

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
Initialize Admin
PUT /admin/init

Initializes the Admin’s system using parameters specified

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
View Admin's Parameters
GET /admin/param

View the admins Parameters:

  • SMTP_USER
  • ORDYX_TOKEN
  • STRIPE_SECRET_KEY
  • STRIPE_PUBLISH_KEY
  • ZOHO_CRM_MANAGER_USER_ID
  • ZOHO_CRM_PARTNERS
  • ORDYX_BASE_URL
  • ORDYX_LOGO_URL
  • ORDYX_SECRET
  • ZOHO_DESK_ORG_ID
  • ZOHO_DESK_INSTALL_AGENT
  • ZOHO_CRM_TOKEN_ACCESS
  • SECRET_ORDYX
  • SMTP_USER

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
Update Admin Parameters
PUT /admin/param

Update the admins Parameters:

  • SMTP_USER
  • ORDYX_TOKEN
  • STRIPE_SECRET_KEY
  • STRIPE_PUBLISH_KEY
  • ZOHO_CRM_MANAGER_USER_ID
  • ZOHO_CRM_PARTNERS
  • ORDYX_BASE_URL
  • ORDYX_LOGO_URL
  • ORDYX_SECRET
  • ZOHO_DESK_ORG_ID
  • ZOHO_DESK_INSTALL_AGENT
  • ZOHO_CRM_TOKEN_ACCESS
  • SECRET_ORDYX
  • SMTP_USER

Request headers

Authorization
string required

Request body

application/json

Responses

200 200

OK

Body
application/json
string
View Default Admin Parameters
GET /admin/param/default

GETS the Admins Default Parameters which may be updated by the Admin.

  • SMTP_USER
  • ORDYX_TOKEN
  • STRIPE_SECRET_KEY
  • STRIPE_PUBLISH_KEY
  • ZOHO_CRM_MANAGER_USER_ID
  • ZOHO_CRM_PARTNERS
  • ORDYX_BASE_URL
  • ORDYX_LOGO_URL
  • ORDYX_SECRET
  • ZOHO_DESK_ORG_ID
  • ZOHO_DESK_INSTALL_AGENT
  • ZOHO_CRM_TOKEN_ACCESS
  • SECRET_ORDYX
  • SMTP_USER

Request parameters

descriptions
boolean optional
Default:
true

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
Retrieve Stripe Key
GET /admin/param/stripeKey

GET the Admins Stripe Key used in credit card payment processing.

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
Remove An Admin Parameter
DELETE /admin/param/{paramId}

Delete one of the admins Parameters by specified Admin ParamID

  • SMTP_USER
  • ORDYX_TOKEN
  • STRIPE_SECRET_KEY
  • STRIPE_PUBLISH_KEY
  • ZOHO_CRM_MANAGER_USER_ID
  • ZOHO_CRM_PARTNERS
  • ORDYX_BASE_URL
  • ORDYX_LOGO_URL
  • ORDYX_SECRET
  • ZOHO_DESK_ORG_ID
  • ZOHO_DESK_INSTALL_AGENT
  • ZOHO_CRM_TOKEN_ACCESS
  • SECRET_ORDYX
  • SMTP_USER

Path variables

paramId
integer required

An Integer type, unique ID for each parameter.

Request headers

Authorization
string required

Request body

application/json

Responses

200 200

OK

Body
application/json
string
View Admin's Email Templates
GET /admin/template

GET Method invoked to view all the Admins current Email templates.

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
Update or Add Email Template
PUT /admin/template

PUT method invoked to update an existing template or add a new email template.

Request headers

Authorization
string required

Request body

application/json

Responses

200 200

OK

Body
application/json
string
View Specific Template
GET /admin/template/{templateId}

GET method to view a specific email template by its unique template ID

Path variables

templateId
integer required

The Unique ID that is assigned to each email template.

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
Remove Specific Template
DELETE /admin/template/{templateId}

DELETE method to remove a specific email template by its unique template ID

Path variables

templateId
integer required

The Unique ID that is assigned to each email template.

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
Retrieve Admin's Users
GET /admin/user

GET method to view all the users under a specified admin.

Request parameters

enabled
boolean optional
Default:
true
ordyx
boolean optional
Default:
true

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
Update or Create User
PUT /admin/user

PUT method used in order to create a new User under an Admin as well as update an existing Users information.

Request headers

Authorization
string required

Request body

application/json

Responses

200 200

OK

Body
application/json
string
Remove a User by ID
DELETE /admin/user/{userId}

Method used to delete a specific User by their user ID

Path variables

userId
integer required

The unique User ID specified for each User

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
View User by ID
GET /admin/user/{userId}

Method used to view a specific User by their user ID

Path variables

userId
integer required

The unique User ID specified for each User

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
Auth
PUT /auth/forgot
PUT /auth/logout
PUT /auth/reset
POST /auth/sso
POST /auth/transfer
GET /auth/validate
Create Authorization
POST /auth

The authorization generated when acount is created

Request body

application/json
string

Responses

200 200

OK

Body
application/json
string
Forgot Password
PUT /auth/forgot

Method used to update authorization credentials when password is forgotten.

Request parameters

email
string required

Request body

Responses

200 200

OK

Body
application/json
string
Logout
PUT /auth/logout

Updates the Users credentials to log them out. Token should not renew therefore it is not sent back.

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-auth-reset
PUT /auth/reset

Request parameters

password
string required
token
string required

Request body

Responses

200 200

OK

Body
application/json
string
POST-auth-sso
POST /auth/sso

Path variables

invitation
string required
provider
string required
token
string required

Request body

Responses

200 200

OK

Body
application/json
string
Transfer User
POST /auth/transfer

Transfer a User already authenticated with Ordyx.

Request headers

Authorization
string required

Request body

application/json
string

Responses

200 200

OK

Body
application/json
string
Validate Authorization
GET /auth/validate

GET method used to make sure the Users credentials are validated with Ordyx.

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
Customer
GET /customer
POST /customer/{customerId}/terminal
PUT /customer/{customerId}/terminal/{terminalId}/reinstall
PUT /customer/{customerId}/var/{processor}
GET-customer
GET /customer

Request parameters

cancelled
boolean optional
Default:
false
live
boolean optional
Default:
true
partnerId
string required
setup
boolean optional
Default:
true

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
POST-customer-customerId-terminal
POST /customer/{customerId}/terminal

Path variables

customerId
integer required

Request headers

Authorization
string required

Request body

application/json
string

Responses

200 200

OK

Body
application/json
string
PUT-customer-customerId-terminal-terminalId-reinstall
PUT /customer/{customerId}/terminal/{terminalId}/reinstall

Path variables

customerId
integer required
terminalId
integer required

Request headers

Authorization
string required

Request body

application/json
string

Responses

200 200

OK

Body
application/json
string
PUT-customer-customerId-var-processor
PUT /customer/{customerId}/var/{processor}

Path variables

customerId
integer required
processor
string required

Request headers

Authorization
string required

Request body

application/json
string

Responses

200 200

OK

Body
application/json
string
Deal
GET /deal
GET /deal/{dealId}
PUT /deal/{dealId}
PUT /deal/{dealId}/email
GET /deal/{dealId}/info
PUT /deal/{dealId}/lost
GET /deal/{dealId}/note
PUT /deal/{dealId}/note
POST /deal/{dealId}/pay
PUT /deal/{dealId}/won
GET-deal
GET /deal

Request parameters

partnerId
integer optional
Default:
-1
stage
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
GET-deal-dealId
GET /deal/{dealId}

Path variables

dealId
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-deal-dealId
PUT /deal/{dealId}

Path variables

dealId
string required

Request headers

Authorization
string required

Request body

application/json
string

Responses

200 200

OK

Body
application/json
string
PUT-deal-dealId-email
PUT /deal/{dealId}/email

Path variables

dealId
string required

Request parameters

body
string required
cc
boolean required
from
string required
subject
string required
to
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
GET-deal-dealId-info
GET /deal/{dealId}/info

Path variables

dealId
string required

Request parameters

accountId
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-deal-dealId-lost
PUT /deal/{dealId}/lost

Path variables

dealId
string required

Request parameters

reason
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
GET-deal-dealId-note
GET /deal/{dealId}/note

Path variables

dealId
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-deal-dealId-note
PUT /deal/{dealId}/note

Path variables

dealId
string required

Request parameters

details
string required
title
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
POST-deal-dealId-pay
POST /deal/{dealId}/pay

Path variables

dealId
string required

Request parameters

Authorization
string required
payToken
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-deal-dealId-won
PUT /deal/{dealId}/won

Path variables

dealId
string required

Request headers

Authorization
string required

Request body

string

Responses

200 200

OK

Body
application/json
string
Installations
GET /install
GET /install/docs
POST /install/upload
POST /install/{customerId}/attachment
GET /install/{customerId}/attachment/{attachmentId}
DELETE /install/{customerId}/attachment/{attachmentId}
PUT /install/{customerId}/clone
PUT /install/{customerId}/link
PUT /install/{customerId}/live
PUT /install/{customerId}/note
GET /install/{customerId}/timeline
PUT /install/{customerId}/task/{taskId}
GET /install/{customerId}/task
PUT /install/{customerId}/settings
GET-install
GET /install

Request parameters

partnerId
integer required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
GET-install-docs
GET /install/docs

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
POST-install-upload
POST /install/upload

Request headers

Authorization
string required

Request body

multipart/form-data
string

Responses

200 200

OK

Body
application/json
string
POST-install-customerId-attachment
POST /install/{customerId}/attachment

Path variables

customerId
integer required

Request headers

Authorization
string required

Request body

multipart/form-data
integer

Responses

200 200

OK

Body
application/json
string
GET-install-customerId-attachment-attachmentId
GET /install/{customerId}/attachment/{attachmentId}

Path variables

customerId
integer required
attachmentId
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/octet-stream
string
DELETE-install-customerId-attachment-attachmentId
DELETE /install/{customerId}/attachment/{attachmentId}

Path variables

customerId
integer required
attachmentId
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-install-customerId-clone
PUT /install/{customerId}/clone

Path variables

customerId
integer required

Request parameters

masterId
integer required

Request headers

Authorization
string required

Request body

application/json

Responses

200 200

OK

Body
application/json
string
PUT /install/{customerId}/link

Path variables

customerId
integer required

Request parameters

email
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-install-customerId-live
PUT /install/{customerId}/live

Path variables

customerId
integer required

Request parameters

date
string required

Request headers

Authorization
string required

Request body

application/json

Responses

200 200

OK

Body
application/json
string
PUT-install-customerId-note
PUT /install/{customerId}/note

Path variables

customerId
integer required

Request parameters

details
string required
title
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
GET-install-customerId-timeline
GET /install/{customerId}/timeline

Path variables

customerId
integer required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-install-customerId-task-taskId
PUT /install/{customerId}/task/{taskId}

Path variables

customerId
integer required
taskId
integer required

Request parameters

completed
string required
description
string required
scheduled
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
GET-install-customerId-task
GET /install/{customerId}/task

Path variables

customerId
integer required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-install-customerId-settings
PUT /install/{customerId}/settings

Path variables

customerId
integer required

Request headers

Authorization
string required

Request body

application/json
string

Responses

200 200

OK

Body
application/json
string
Leads
GET /lead
POST /lead
GET /lead/{leadId}
PUT /lead/{leadId}
PUT /lead/{leadId}/email
GET /lead/{leadId}/note
PUT /lead/{leadId}/note
PUT /lead/{leadId}/qualify
GET-lead
GET /lead

Request parameters

partnerId
integer optional
Default:
-1
status
string optional
Default:
Open

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
POST-lead
POST /lead

Request parameters

partnerId
integer required

Request headers

Authorization
string required

Request body

application/json
string

Responses

200 200

OK

Body
application/json
string
GET-lead-leadId
GET /lead/{leadId}

Path variables

leadId
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-lead-leadId
PUT /lead/{leadId}

Path variables

leadId
string required

Request headers

Authorization
string required

Request body

application/json
string

Responses

200 200

OK

Body
application/json
string
PUT-lead-leadId-email
PUT /lead/{leadId}/email

Path variables

leadId
string required

Request parameters

body
string required
cc
boolean required
from
string required
subject
string required
to
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
GET-lead-leadId-note
GET /lead/{leadId}/note

Path variables

leadId
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-lead-leadId-note
PUT /lead/{leadId}/note

Path variables

leadId
string required

Request parameters

details
string required
title
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-lead-leadId-qualify
PUT /lead/{leadId}/qualify

Path variables

leadId
string required

Request parameters

amount
integer required
closing
string required
dealName
string required
details
string required
partnerId
integer optional
Default:
-1
qualified
boolean required
reason
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
Library
GET /library/collateral
GET /library/specs
GET /library/tools
GET-library-collateral
GET /library/collateral

Request headers

Authorization
string required

Request body

Responses

204 204

No Content

application/json
GET-library-specs
GET /library/specs

Request headers

Authorization
string required

Request body

Responses

204 204

No Content

application/json
GET-library-tools
GET /library/tools

Request headers

Authorization
string required

Request body

Responses

204 204

No Content

application/json
Partner
GET /partner
PUT /partner
DELETE /partner/{partnerId}/user/{userId}
PUT /partner/{partnerId}/user
PUT /partner/{partnerId}/synch
GET /partner/{partnerId}/user
GET /partner/{partnerId}/status
PUT /partner/{partnerId}/param/{name}
PUT /partner/{partnerId}/param
GET /partner/{partnerId}/param
GET /partner/{partnerId}/methods
PUT /partner/{partnerId}/invite
GET /partner/{partnerId}
DELETE /partner/{partnerId}
POST /partner/{partnerId}/accept
GET /partner/{partnerId}/account
GET /partner/{partnerId}/charges
GET-partner
GET /partner

Request parameters

enabledOnly
boolean optional
Default:
false
provisionedOnly
boolean optional
Default:
true
type
string optional
Default:
all

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-partner
PUT /partner

Request headers

Authorization
string required

Request body

application/json

Responses

200 200

OK

Body
application/json
string
DELETE-partner-partnerId-user-userId
DELETE /partner/{partnerId}/user/{userId}

Path variables

partnerId
integer required
userId
integer required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-partner-partnerId-user
PUT /partner/{partnerId}/user

Path variables

partnerId
integer required

Request headers

Authorization
string required

Request body

application/json

Responses

200 200

OK

Body
application/json
string
PUT-partner-partnerId-synch
PUT /partner/{partnerId}/synch

Path variables

partnerId
integer required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
GET-partner-partnerId-user
GET /partner/{partnerId}/user

Path variables

partnerId
integer required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
GET-partner-partnerId-status
GET /partner/{partnerId}/status

Path variables

partnerId
integer required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-partner-partnerId-param-name
PUT /partner/{partnerId}/param/{name}

Path variables

partnerId
integer required
name
string required

Request headers

Authorization
string required

Request body

application/json
string

Responses

200 200

OK

Body
application/json
string
PUT-partner-partnerId-param
PUT /partner/{partnerId}/param

Path variables

partnerId
integer required

Request headers

Authorization
string required

Request body

application/json
string

Responses

200 200

OK

Body
application/json
string
GET-partner-partnerId-param
GET /partner/{partnerId}/param

Path variables

partnerId
integer required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
GET-partner-partnerId-methods
GET /partner/{partnerId}/methods

Path variables

partnerId
integer required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-partner-partnerId-invite
PUT /partner/{partnerId}/invite

Path variables

partnerId
integer required

Request parameters

email
string required
role
integer required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
GET-partner-partnerId
GET /partner/{partnerId}

Path variables

partnerId
integer required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
DELETE-partner-partnerId
DELETE /partner/{partnerId}

Path variables

partnerId
integer required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
POST-partner-partnerId-accept
POST /partner/{partnerId}/accept

Path variables

partnerId
integer required

Request headers

Authorization
string required

Request body

application/json

Responses

200 200

OK

Body
application/json
string
GET-partner-partnerId-account
GET /partner/{partnerId}/account

Path variables

partnerId
integer required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
GET-partner-partnerId-charges
GET /partner/{partnerId}/charges

Path variables

partnerId
integer required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
Support
GET /support/call
POST /support/call
PUT /support/call
POST /support/suggestion
GET /support/ticket
PUT /support/ticket/{ticketId}
GET /support/ticket/{ticketId}/comment
GET /support/{storeId}/partner
GET-support-call
GET /support/call

Request parameters

partnerId
integer required

Request headers

Authorization
string required

Request body

Responses

204 204

No Content

application/json
POST-support-call
POST /support/call

Request body

multipart/form-data
string

Responses

200 200

OK

Body
application/json
string
PUT-support-call
PUT /support/call

Request body

application/json
multipart/form-data
string

Responses

200 200

OK

application/json
POST-support-suggestion
POST /support/suggestion

Request headers

Authorization
string required

Request body

application/json
string

Responses

200 200

OK

Body
application/json
string
GET-support-ticket
GET /support/ticket

Request parameters

direction
string optional
Default:
asc
from
string required
limit
integer optional
Default:
1000
page
integer optional
Default:
1
partnerId
integer required
sort
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
PUT-support-ticket-ticketId
PUT /support/ticket/{ticketId}

Path variables

ticketId
integer required

Request headers

Authorization
string required

Request body

application/json
string

Responses

200 200

OK

Body
application/json
string
GET-support-ticket-ticketId-comment
GET /support/ticket/{ticketId}/comment

Path variables

ticketId
string required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
GET-support-storeId-partner
GET /support/{storeId}/partner

Path variables

storeId
integer required

Request headers

Authorization
string required

Request body

Responses

200 200

OK

Body
application/json
string
Reports
GET /reports/{partnerId}/installs
GET-reports-partnerId-installs
GET /reports/{partnerId}/installs

Path variables

partnerId
integer required

Request parameters

from
string required
to
string required

Request headers

Authorization
string required

Request body

application/json
string

Responses

200 200

OK

Body
application/json
string