Service 🎨

📌 POST:/office/servicesearch

Request (body)

  • isdeleted : Contains Only 0,1.

Response

// Success
{
 "success":true,
 "data" : [] ,
 "msg": "Service Loaded"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Service Info

📌 POST:/office/serviceinfo

Request (body)

  • serviceid* : Only Nummeric.

Response

// Success
{
 "success":true,
 "data" : {...} ,
 "msg": "Service Loaded"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Service List

📌 POST:/office/servicelist

Request (body)

  • iscomp : Contains Only 0 or 1 .

Response

// Success
{
 "success":true,
 "data" : [...] ,
 "msg": "Service List Loaded"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Service Create

📌 POST:/office/servicecreate

Request (body)

  • servicename* : 2 to 50 characters .
  • iscomp | isdeleted* : Contains Only 0 or 1 .
  • estcost,esthour* : Only Numeric .
  • gstrate : Between 0 to 100.
  • sac : Max 50 characters.
  • category : Category name can only contain alphabets, numbers and '-' and '_'

Note :

  1. For creating a serivce the user must have hasadmin permission .
  2. estcost,esthour Stand for estimated Cost & Estimated time Respectively.

Response

// Success`
{
 "success":true,
 "params" : {...} ,
 "no" : "serviceid",
 "msg": "Service Created"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Service Update

📌 POST:/office/serviceupdate

Request (body)

  • serviceid* : Only Numeric .
  • servicename* : 2 to 50 characters .
  • templateid : Only Numeric.
  • iscomp, isdeleted iscronology, isallowcomp , isallowtodocomp : Contains Only 0 or 1 .
  • estcost,esthour* : Only NUmeric .
  • gstrate : Between 0 to 100.
  • sac : Max 50 characters.
  • category : Category name can only contain alphabets, numbers and '-' and '_'

Note :

  1. For creating a serivce the user must have hasadmin permission .
  2. estcost,esthour Stand for estimated Cost & Estimated time Respectively.

Response

// Success`
{
 "success":true,
 "params" : {...} ,
 "no" : "serviceid",
 "msg": "Service Updated"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Compliance Client

📌 POST:/office/complianceclient

Request (body)

  • serviceid* : Only Integers.

Response

// Success
{
 "success":true,
 "data" : [] ,
 "msg": "Compliance Loaded"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Compliance Info

📌 POST:/office/complianceinfo

Request (body)

  • complianceid* : Only Integers

Response

// Success
{
 "success":true,
 "data" : {...} ,
 "msg": "Compliance Info Loaded"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

📌 POST:/office/stagesearch

Request (body)

  • serviceid* : Only Numeric .

Response

// Success`
{
 "data" : [] ,
 "success":true,
 "msg": "Stages Loaded"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Stage Info

📌 POST:/office/stageinfo

Request (body)

  • serviceid* : Only Numeric .
  • stageno * : Integer between 1 and 99.

Response

// Success`
{
 "success":true,
 "data " : {...} ,
 "msg": "Stage Info Loaded"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Stage Add

📌 POST:/office/stageadd

Request (body)

  • serviceid* : Only Numeric .
  • stagenumber* : Integer between 1 and 99.
  • stagename* : Length between 2 to 50 characters.
  • descp : Length maximum 200 characters.

For adding stages the user must have hasadmnin Permission .

Response

// Success`
{
 "success":true,
 "params" : {....} ,
 "msg": "Stage Created"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Stage Update

📌 POST:/office/stageupdate

Request (body)

  • serviceid* : Only Numeric .
  • stageno* : Integer between 1 and 99.
  • stagenumber* : Integer between 1 and 99.
  • stagename* : Length between 2 to 50 characters.
  • descp : Length maximum 200 characters.

For adding stages the user must have hasadmnin Permission .

Response

// Success`
{
 "success":true,
 "params" : {....} ,
 "msg": "Stage updated"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Stage Delete

📌 POST:/office/stagedelete

Request (body)

  • serviceid* : Only Numeric .
  • stagenumber* : Integer between 1 and 99.

Note :

  1. For adding stages the user must have hasadmnin Permission .
  2. If the stage is marked as completed in any of the task then it cannot deleted.

Response

// Success`
{
 "success":true,
 "msg": "Stage deleted"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

📌 POST:/office/fieldsearch

Request (body)

  • serviceid* : Only Numreic.

Response

// Success`
{
 "success":true,
 "data" : [],
 "msg": "Fields loaded" 
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Field Info

📌 POST:/office/fieldinfo

Request (body)

  • serviceid* : Only Integers.
  • fieldid* :Only Numbers allowed.

Response

// Success`
{
 "success":true,
 "data" : {...},
 "msg": "Field info loaded" 
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Field Add

📌 POST:/office/fieldadd

Request (body)

  • serviceid* : Only Integers.
  • fieldname* : Length between 2 and 40.
  • fieldtype* : Only Alphabets allowed.
  • fieldtypenames : ......
  • sortno : Only Integer.

For adding a field the useer must have hasadmin Permission .

Response

// Success`
{
 "success":true,
 "params" : {...} ,
 "msg": "Field Added" 
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Field Update

📌 POST:/office/fieldupdate

Request (body)

  • serviceid* : Only Numbers allowed .
  • fieldid* : Only Numbers allowed .
  • fieldname* : Length between 2 and 40.
  • fieldtype* : Only Alphabets allowed.
  • isdeleted* : contains Only 0 or 1.
  • fieldtypenames : ......
  • sortno : Only Integer.

For adding a field the useer must have hasadmin Permission .

Response

// Success`
{
 "success":true,
 "params" : {...} ,
 "msg": "Field Updated" 
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Field Delete

📌 POST:/office/fielddelete

Request (body)

  • serviceid* : Only Numbers allowed .
  • fieldid* : Only Numbers allowed .

Note :

  1. For adding a field the useer must have hasadmin Permission .
  2. If the field is linked to any of the tasks it cannot be deleted .

Response

// Success`
{
 "success":true,
 "msg": "Field Deleted" 
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Service View

📌 POST:/office/serviceview

Request (body)

  • serviceid* : Only Integers.

Response

// Success`
{
 "success":true,
 "data"  : {...},
 "msg": "Service loaded" 
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

📌 POST:/office/schedulesearch

Request (body)

  • serviceid* : Only Integers.

Response

// Success`
{
 "success":true,
 "data"  : [],
 "msg": "Schedulers loaded" 
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Scheduler Add

📌 POST:/office/scheduleradd

Request (body)

  • serviceid* : Only Integer.
  • periodicity* : Only Y,Q,M.
  • daydue* : Only Integer.
  • daybeforecreate* : Only Integer.

For adding a schedule the user must have hasadmin Permission .

Response

// Success`
{
 "success":true,
 "params"  : {...},
 "msg": "Scheduler Add" 
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Scheduler Update

📌 POST:/office/schedulerupdate

Request (body)

  • serviceid* : Only Integer.
  • periodicity* : Only Y,Q,M.
  • daydue* : Only Integer.
  • daybeforecreate* : Only Integer.

For adding a schedule the user must have hasadmin Permission .

Response

// Success`
{
 "success":true,
 "params"  : {...},
 "msg": "Scheduler Update" 
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Scheduler Delete

📌 POST:/office/schedulerdelete

Request (body)

  • serviceid* : Only Integer.
  • periodicity* : Only Y,Q,M.

For adding a schedule the user must have hasadmin Permission .

Response

// Success`
{
 "success":true,
 "params"  : {...},
 "msg": "Scheduler Deleted" 
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}
Last Updated: