POST api/Job/SaveJobDetails

Request Information

URI Parameters

None.

Body Parameters

JobFlat
NameDescriptionTypeAdditional information
JobId

integer

None.

CustomerId

integer

None.

CustomerName

string

None.

CustomerMobile

string

None.

Location

string

None.

Description

string

None.

JobTypeId

integer

None.

JobTypeName

string

None.

JobSubTypeId

integer

None.

JobSubTypeName

string

None.

JobDate

date

None.

ComplaintDate

date

None.

JobCloseDate

date

None.

StatusId

integer

None.

UserId

integer

None.

TechnicianNotes

string

None.

CreatedOn

date

None.

CreatedBy

integer

None.

UpdatedOn

date

None.

UpdatedBy

integer

None.

TechnicianId

integer

None.

TechnicianName

string

None.

HelperId

integer

None.

HelperName

string

None.

JobUserMapping

Collection of JobUserMappingFlat

None.

JobMaterials

Collection of JobMaterialsFlat

None.

Request Formats

application/json, text/json

Sample:
{
  "JobId": 1,
  "CustomerId": 2,
  "CustomerName": "sample string 3",
  "CustomerMobile": "sample string 4",
  "Location": "sample string 5",
  "Description": "sample string 6",
  "JobTypeId": 7,
  "JobTypeName": "sample string 8",
  "JobSubTypeId": 1,
  "JobSubTypeName": "sample string 9",
  "JobDate": "2025-12-06T10:09:59.0648179+05:30",
  "ComplaintDate": "2025-12-06T10:09:59.0648179+05:30",
  "JobCloseDate": "2025-12-06T10:09:59.0648179+05:30",
  "StatusId": 12,
  "UserId": 13,
  "TechnicianNotes": "sample string 14",
  "CreatedOn": "2025-12-06T10:09:59.0648179+05:30",
  "CreatedBy": 15,
  "UpdatedOn": "2025-12-06T10:09:59.0648179+05:30",
  "UpdatedBy": 16,
  "TechnicianId": 17,
  "TechnicianName": "sample string 18",
  "HelperId": 19,
  "HelperName": "sample string 20",
  "JobUserMapping": [
    {
      "JobUserMappingId": 1,
      "JobId": 2,
      "UserId": 3,
      "UserName": "sample string 4",
      "UserTypeId": 5,
      "CreatedOn": "2025-12-06T10:09:59.0648179+05:30",
      "CreatedBy": 6,
      "UpdatedOn": "2025-12-06T10:09:59.0648179+05:30",
      "UpdatedBy": 7
    },
    {
      "JobUserMappingId": 1,
      "JobId": 2,
      "UserId": 3,
      "UserName": "sample string 4",
      "UserTypeId": 5,
      "CreatedOn": "2025-12-06T10:09:59.0648179+05:30",
      "CreatedBy": 6,
      "UpdatedOn": "2025-12-06T10:09:59.0648179+05:30",
      "UpdatedBy": 7
    }
  ],
  "JobMaterials": [
    {
      "JobMaterialId": 1,
      "JobId": 2,
      "MaterialId": 3,
      "MaterialName": "sample string 4",
      "Unit": "sample string 5",
      "Quantity": 6.0,
      "QuantityRequired": 7.0,
      "IsActive": true,
      "UserId": 9,
      "UserName": "sample string 10",
      "CreatedOn": "2025-12-06T10:09:59.0648179+05:30",
      "CreatedBy": 11,
      "UpdatedOn": "2025-12-06T10:09:59.0648179+05:30",
      "UpdatedBy": 1
    },
    {
      "JobMaterialId": 1,
      "JobId": 2,
      "MaterialId": 3,
      "MaterialName": "sample string 4",
      "Unit": "sample string 5",
      "Quantity": 6.0,
      "QuantityRequired": 7.0,
      "IsActive": true,
      "UserId": 9,
      "UserName": "sample string 10",
      "CreatedOn": "2025-12-06T10:09:59.0648179+05:30",
      "CreatedBy": 11,
      "UpdatedOn": "2025-12-06T10:09:59.0648179+05:30",
      "UpdatedBy": 1
    }
  ]
}

application/xml, text/xml

Sample:
<JobFlat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGS.Entities.FlatModels">
  <ComplaintDate>2025-12-06T10:09:59.0648179+05:30</ComplaintDate>
  <CreatedBy>15</CreatedBy>
  <CreatedOn>2025-12-06T10:09:59.0648179+05:30</CreatedOn>
  <CustomerId>2</CustomerId>
  <CustomerMobile>sample string 4</CustomerMobile>
  <CustomerName>sample string 3</CustomerName>
  <Description>sample string 6</Description>
  <HelperId>19</HelperId>
  <HelperName>sample string 20</HelperName>
  <JobCloseDate>2025-12-06T10:09:59.0648179+05:30</JobCloseDate>
  <JobDate>2025-12-06T10:09:59.0648179+05:30</JobDate>
  <JobId>1</JobId>
  <JobMaterials>
    <JobMaterialsFlat>
      <CreatedBy>11</CreatedBy>
      <CreatedOn>2025-12-06T10:09:59.0648179+05:30</CreatedOn>
      <IsActive>true</IsActive>
      <JobId>2</JobId>
      <JobMaterialId>1</JobMaterialId>
      <MaterialId>3</MaterialId>
      <MaterialName>sample string 4</MaterialName>
      <Quantity>6</Quantity>
      <QuantityRequired>7</QuantityRequired>
      <Unit>sample string 5</Unit>
      <UpdatedBy>1</UpdatedBy>
      <UpdatedOn>2025-12-06T10:09:59.0648179+05:30</UpdatedOn>
      <UserId>9</UserId>
      <UserName>sample string 10</UserName>
    </JobMaterialsFlat>
    <JobMaterialsFlat>
      <CreatedBy>11</CreatedBy>
      <CreatedOn>2025-12-06T10:09:59.0648179+05:30</CreatedOn>
      <IsActive>true</IsActive>
      <JobId>2</JobId>
      <JobMaterialId>1</JobMaterialId>
      <MaterialId>3</MaterialId>
      <MaterialName>sample string 4</MaterialName>
      <Quantity>6</Quantity>
      <QuantityRequired>7</QuantityRequired>
      <Unit>sample string 5</Unit>
      <UpdatedBy>1</UpdatedBy>
      <UpdatedOn>2025-12-06T10:09:59.0648179+05:30</UpdatedOn>
      <UserId>9</UserId>
      <UserName>sample string 10</UserName>
    </JobMaterialsFlat>
  </JobMaterials>
  <JobSubTypeId>1</JobSubTypeId>
  <JobSubTypeName>sample string 9</JobSubTypeName>
  <JobTypeId>7</JobTypeId>
  <JobTypeName>sample string 8</JobTypeName>
  <JobUserMapping>
    <JobUserMappingFlat>
      <CreatedBy>6</CreatedBy>
      <CreatedOn>2025-12-06T10:09:59.0648179+05:30</CreatedOn>
      <JobId>2</JobId>
      <JobUserMappingId>1</JobUserMappingId>
      <UpdatedBy>7</UpdatedBy>
      <UpdatedOn>2025-12-06T10:09:59.0648179+05:30</UpdatedOn>
      <UserId>3</UserId>
      <UserName>sample string 4</UserName>
      <UserTypeId>5</UserTypeId>
    </JobUserMappingFlat>
    <JobUserMappingFlat>
      <CreatedBy>6</CreatedBy>
      <CreatedOn>2025-12-06T10:09:59.0648179+05:30</CreatedOn>
      <JobId>2</JobId>
      <JobUserMappingId>1</JobUserMappingId>
      <UpdatedBy>7</UpdatedBy>
      <UpdatedOn>2025-12-06T10:09:59.0648179+05:30</UpdatedOn>
      <UserId>3</UserId>
      <UserName>sample string 4</UserName>
      <UserTypeId>5</UserTypeId>
    </JobUserMappingFlat>
  </JobUserMapping>
  <Location>sample string 5</Location>
  <StatusId>12</StatusId>
  <TechnicianId>17</TechnicianId>
  <TechnicianName>sample string 18</TechnicianName>
  <TechnicianNotes>sample string 14</TechnicianNotes>
  <UpdatedBy>16</UpdatedBy>
  <UpdatedOn>2025-12-06T10:09:59.0648179+05:30</UpdatedOn>
  <UserId>13</UserId>
</JobFlat>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>