statuscode

Viewset that supports all normal viewset functionality.

post/api/statuscode/action/

Request

  • The document declares no server URL.
  • Auth: none declared

Request body

namestring required
addressstring nullable
subjectstring nullable
descriptionstring nullable
templatestring nullable
type'email' | 'send_sms' | 'send_fcm' | 'email_assigned' | 'copy' | 'status' | 'email_workorders' | 'email_ics' | 'send_to_gripp' required
  • email - send email
  • send_sms - send_sms
  • send_fcm - send fcm
  • email_assigned - email assigned engineers
  • copy - copy to partner
  • status - status change original order
  • email_workorders - send workorders as email
  • email_ics - send email with calendar (ics) file
  • send_to_gripp - send to Gripp
company_partnerinteger nullable
querymode'and' | 'or'
  • and - and
  • or - or
statuscodeinteger required
override_statusboolean
num_daysinteger nullable
num_days_operator'<' | '<=' | '>' | '>='
  • < - <
  • <= - <=
  • > - >
  • >= - >=
num_days_model_fieldstring nullable

Response

idinteger required
namestring required
addressstring nullable
subjectstring nullable
descriptionstring nullable
templatestring nullable
type'email' | 'send_sms' | 'send_fcm' | 'email_assigned' | 'copy' | 'status' | 'email_workorders' | 'email_ics' | 'send_to_gripp' required
  • email - send email
  • send_sms - send_sms
  • send_fcm - send fcm
  • email_assigned - email assigned engineers
  • copy - copy to partner
  • status - status change original order
  • email_workorders - send workorders as email
  • email_ics - send email with calendar (ics) file
  • send_to_gripp - send to Gripp
company_partnerinteger nullable
querymode'and' | 'or'
  • and - and
  • or - or
statuscodeinteger required
destinationstring nullable required
conditionsstring required
override_statusboolean
num_daysinteger nullable
num_days_operator'<' | '<=' | '>' | '>='
  • < - <
  • <= - <=
  • > - >
  • >= - >=
num_days_model_fieldstring nullable

Changes

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property (media type: multipart/form-data)

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property (media type: multipart/form-data)

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property (media type: multipart/form-data)

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: application/json)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: application/x-www-form-urlencoded)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: multipart/form-data)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: application/json)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: application/x-www-form-urlencoded)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: multipart/form-data)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: application/json)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: application/x-www-form-urlencoded)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: multipart/form-data)

    • breaking

      the request property's minLength was increased from 0 to 1 (media type: application/json)

    • breaking

      the request property's minLength was increased from 0 to 1 (media type: application/x-www-form-urlencoded)

    • breaking

      the request property's minLength was increased from 0 to 1 (media type: multipart/form-data)