POST jobtype/Create

Request Information

URI Parameters

None.

Body Parameters

jb_JobTypeEntity
NameDescriptionTypeAdditional information
TenantId

integer

None.

JobTypeId

integer

None.

InvoiceTypeId

integer

None.

PriceGroupId

integer

None.

JobCode

string

None.

JobDesc

string

None.

JobTime

integer

None.

TimeDesc

string

None.

IsActive

boolean

None.

GroupName

string

None.

InvoiceType

string

None.

jobType

string

None.

NewMsgEnabled

boolean

None.

NewMsgTemplateId

integer

None.

NewMsgTemplateName

string

None.

NewAutoSend

boolean

None.

SchedMsgEnabled

boolean

None.

SchedMsgTemplateId

integer

None.

SchedMsgTemplateName

string

None.

SchedAutoSend

boolean

None.

ReschedMsgEnabled

boolean

None.

ReschedMsgTemplateId

integer

None.

ReschedMsgTemplateName

string

None.

ReminderMsgEnabled

boolean

None.

ReminderMsgTemplateId

integer

None.

ReminderMsgTemplateName

string

None.

ReminderSMSTime

integer

None.

RequiresAppt

boolean

None.

JobStatusSeqId

integer

None.

AreaGroupId

integer

None.

AreaGroupName

string

None.

DisputeQstGroupId

integer

None.

RequiresInvoice

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantId": 1,
  "JobTypeId": 2,
  "InvoiceTypeId": 3,
  "PriceGroupId": 1,
  "JobCode": "sample string 4",
  "JobDesc": "sample string 5",
  "JobTime": 1,
  "TimeDesc": "sample string 6",
  "IsActive": true,
  "GroupName": "sample string 8",
  "InvoiceType": "sample string 9",
  "jobType": "sample string 10",
  "NewMsgEnabled": true,
  "NewMsgTemplateId": 1,
  "NewMsgTemplateName": "sample string 12",
  "NewAutoSend": true,
  "SchedMsgEnabled": true,
  "SchedMsgTemplateId": 1,
  "SchedMsgTemplateName": "sample string 15",
  "SchedAutoSend": true,
  "ReschedMsgEnabled": true,
  "ReschedMsgTemplateId": 1,
  "ReschedMsgTemplateName": "sample string 18",
  "ReminderMsgEnabled": true,
  "ReminderMsgTemplateId": 1,
  "ReminderMsgTemplateName": "sample string 20",
  "ReminderSMSTime": 1,
  "RequiresAppt": true,
  "JobStatusSeqId": 1,
  "AreaGroupId": 22,
  "AreaGroupName": "sample string 23",
  "DisputeQstGroupId": 1,
  "RequiresInvoice": true
}

text/html

Sample:
{"TenantId":1,"JobTypeId":2,"InvoiceTypeId":3,"PriceGroupId":1,"JobCode":"sample string 4","JobDesc":"sample string 5","JobTime":1,"TimeDesc":"sample string 6","IsActive":true,"GroupName":"sample string 8","InvoiceType":"sample string 9","jobType":"sample string 10","NewMsgEnabled":true,"NewMsgTemplateId":1,"NewMsgTemplateName":"sample string 12","NewAutoSend":true,"SchedMsgEnabled":true,"SchedMsgTemplateId":1,"SchedMsgTemplateName":"sample string 15","SchedAutoSend":true,"ReschedMsgEnabled":true,"ReschedMsgTemplateId":1,"ReschedMsgTemplateName":"sample string 18","ReminderMsgEnabled":true,"ReminderMsgTemplateId":1,"ReminderMsgTemplateName":"sample string 20","ReminderSMSTime":1,"RequiresAppt":true,"JobStatusSeqId":1,"AreaGroupId":22,"AreaGroupName":"sample string 23","DisputeQstGroupId":1,"RequiresInvoice":true}

application/xml, text/xml

Sample:
<jb_JobTypeEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.JobTypes">
  <AreaGroupId>22</AreaGroupId>
  <AreaGroupName>sample string 23</AreaGroupName>
  <DisputeQstGroupId>1</DisputeQstGroupId>
  <GroupName>sample string 8</GroupName>
  <InvoiceType>sample string 9</InvoiceType>
  <InvoiceTypeId>3</InvoiceTypeId>
  <IsActive>true</IsActive>
  <JobCode>sample string 4</JobCode>
  <JobDesc>sample string 5</JobDesc>
  <JobStatusSeqId>1</JobStatusSeqId>
  <JobTime>1</JobTime>
  <JobTypeId>2</JobTypeId>
  <NewAutoSend>true</NewAutoSend>
  <NewMsgEnabled>true</NewMsgEnabled>
  <NewMsgTemplateId>1</NewMsgTemplateId>
  <NewMsgTemplateName>sample string 12</NewMsgTemplateName>
  <PriceGroupId>1</PriceGroupId>
  <ReminderMsgEnabled>true</ReminderMsgEnabled>
  <ReminderMsgTemplateId>1</ReminderMsgTemplateId>
  <ReminderMsgTemplateName>sample string 20</ReminderMsgTemplateName>
  <ReminderSMSTime>1</ReminderSMSTime>
  <RequiresAppt>true</RequiresAppt>
  <RequiresInvoice>true</RequiresInvoice>
  <ReschedMsgEnabled>true</ReschedMsgEnabled>
  <ReschedMsgTemplateId>1</ReschedMsgTemplateId>
  <ReschedMsgTemplateName>sample string 18</ReschedMsgTemplateName>
  <SchedAutoSend>true</SchedAutoSend>
  <SchedMsgEnabled>true</SchedMsgEnabled>
  <SchedMsgTemplateId>1</SchedMsgTemplateId>
  <SchedMsgTemplateName>sample string 15</SchedMsgTemplateName>
  <TenantId>1</TenantId>
  <TimeDesc>sample string 6</TimeDesc>
  <jobType>sample string 10</jobType>
</jb_JobTypeEntity>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'jb_JobTypeEntity'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.