POST api/Publish/CreateAJob

Request Information

URI Parameters

None.

Body Parameters

CreateAJobModel
NameDescriptionTypeAdditional information
DBNo

integer

None.

AppNo

integer

None.

JobAD_ID

integer

None.

Src

string

None.

ProfessionCode

string

None.

LegalEntityID

integer

None.

OfficeID

integer

None.

OperatingUnitID

integer

None.

AssignedDepartmentID

integer

None.

AssignedDepartmentName

string

None.

AssignedPositionID

integer

None.

AssignedPositionName

string

None.

IsAllowances

boolean

None.

AllowcatedAllowancesArr

Collection of JobAdPerkModel

None.

IsBenefits

boolean

None.

AllowcatedBenefitArr

Collection of JobAdPerkModel

None.

Experience

integer

None.

Age

string

None.

EmployeementTypeID

integer

None.

EmployeementType

string

None.

WorkLocation

string

None.

JobDescription

string

None.

LastDate

date

None.

ShiftStartTime

string

None.

ShiftEndTime

string

None.

Active

boolean

None.

IsActive

boolean

None.

IsDelete

boolean

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Notes

string

None.

LogId

integer

None.

CountryID

integer

None.

ProvinceID

integer

None.

CityID

integer

None.

TownID

integer

None.

CountyID

integer

None.

Country

string

None.

Province

string

None.

City

string

None.

Town

string

None.

CountyDist

string

None.

IsPublishAgain

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "DBNo": 1,
  "AppNo": 1,
  "JobAD_ID": 1,
  "Src": "sample string 1",
  "ProfessionCode": "sample string 2",
  "LegalEntityID": 1,
  "OfficeID": 1,
  "OperatingUnitID": 1,
  "AssignedDepartmentID": 1,
  "AssignedDepartmentName": "sample string 3",
  "AssignedPositionID": 1,
  "AssignedPositionName": "sample string 4",
  "IsAllowances": true,
  "AllowcatedAllowancesArr": [
    {
      "JobsAds_PerkID": 1,
      "JobAD_ID": 1,
      "Type": "sample string 1",
      "PerkID": 1,
      "Perk": "sample string 2",
      "Active": true,
      "Notes": "sample string 3"
    },
    {
      "JobsAds_PerkID": 1,
      "JobAD_ID": 1,
      "Type": "sample string 1",
      "PerkID": 1,
      "Perk": "sample string 2",
      "Active": true,
      "Notes": "sample string 3"
    }
  ],
  "IsBenefits": true,
  "AllowcatedBenefitArr": [
    {
      "JobsAds_PerkID": 1,
      "JobAD_ID": 1,
      "Type": "sample string 1",
      "PerkID": 1,
      "Perk": "sample string 2",
      "Active": true,
      "Notes": "sample string 3"
    },
    {
      "JobsAds_PerkID": 1,
      "JobAD_ID": 1,
      "Type": "sample string 1",
      "PerkID": 1,
      "Perk": "sample string 2",
      "Active": true,
      "Notes": "sample string 3"
    }
  ],
  "Experience": 1,
  "Age": "sample string 7",
  "EmployeementTypeID": 1,
  "EmployeementType": "sample string 8",
  "WorkLocation": "sample string 9",
  "JobDescription": "sample string 10",
  "LastDate": "2026-04-06T21:34:08.9661274-05:00",
  "ShiftStartTime": "sample string 11",
  "ShiftEndTime": "sample string 12",
  "Active": true,
  "IsActive": true,
  "IsDelete": true,
  "CreatedBy": 1,
  "UpdatedBy": 1,
  "Notes": "sample string 14",
  "LogId": 1,
  "CountryID": 1,
  "ProvinceID": 1,
  "CityID": 1,
  "TownID": 1,
  "CountyID": 1,
  "Country": "sample string 15",
  "Province": "sample string 16",
  "City": "sample string 17",
  "Town": "sample string 18",
  "CountyDist": "sample string 19",
  "IsPublishAgain": true
}

application/xml, text/xml

Sample:
<CreateAJobModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Model">
  <Active>true</Active>
  <Age>sample string 7</Age>
  <AllowcatedAllowancesArr>
    <JobAdPerkModel>
      <Active>true</Active>
      <JobAD_ID>1</JobAD_ID>
      <JobsAds_PerkID>1</JobsAds_PerkID>
      <Notes>sample string 3</Notes>
      <Perk>sample string 2</Perk>
      <PerkID>1</PerkID>
      <Type>sample string 1</Type>
    </JobAdPerkModel>
    <JobAdPerkModel>
      <Active>true</Active>
      <JobAD_ID>1</JobAD_ID>
      <JobsAds_PerkID>1</JobsAds_PerkID>
      <Notes>sample string 3</Notes>
      <Perk>sample string 2</Perk>
      <PerkID>1</PerkID>
      <Type>sample string 1</Type>
    </JobAdPerkModel>
  </AllowcatedAllowancesArr>
  <AllowcatedBenefitArr>
    <JobAdPerkModel>
      <Active>true</Active>
      <JobAD_ID>1</JobAD_ID>
      <JobsAds_PerkID>1</JobsAds_PerkID>
      <Notes>sample string 3</Notes>
      <Perk>sample string 2</Perk>
      <PerkID>1</PerkID>
      <Type>sample string 1</Type>
    </JobAdPerkModel>
    <JobAdPerkModel>
      <Active>true</Active>
      <JobAD_ID>1</JobAD_ID>
      <JobsAds_PerkID>1</JobsAds_PerkID>
      <Notes>sample string 3</Notes>
      <Perk>sample string 2</Perk>
      <PerkID>1</PerkID>
      <Type>sample string 1</Type>
    </JobAdPerkModel>
  </AllowcatedBenefitArr>
  <AppNo>1</AppNo>
  <AssignedDepartmentID>1</AssignedDepartmentID>
  <AssignedDepartmentName>sample string 3</AssignedDepartmentName>
  <AssignedPositionID>1</AssignedPositionID>
  <AssignedPositionName>sample string 4</AssignedPositionName>
  <City>sample string 17</City>
  <CityID>1</CityID>
  <Country>sample string 15</Country>
  <CountryID>1</CountryID>
  <CountyDist>sample string 19</CountyDist>
  <CountyID>1</CountyID>
  <CreatedBy>1</CreatedBy>
  <DBNo>1</DBNo>
  <EmployeementType>sample string 8</EmployeementType>
  <EmployeementTypeID>1</EmployeementTypeID>
  <Experience>1</Experience>
  <IsActive>true</IsActive>
  <IsAllowances>true</IsAllowances>
  <IsBenefits>true</IsBenefits>
  <IsDelete>true</IsDelete>
  <IsPublishAgain>true</IsPublishAgain>
  <JobAD_ID>1</JobAD_ID>
  <JobDescription>sample string 10</JobDescription>
  <LastDate>2026-04-06T21:34:08.9661274-05:00</LastDate>
  <LegalEntityID>1</LegalEntityID>
  <LogId>1</LogId>
  <Notes>sample string 14</Notes>
  <OfficeID>1</OfficeID>
  <OperatingUnitID>1</OperatingUnitID>
  <ProfessionCode>sample string 2</ProfessionCode>
  <Province>sample string 16</Province>
  <ProvinceID>1</ProvinceID>
  <ShiftEndTime>sample string 12</ShiftEndTime>
  <ShiftStartTime>sample string 11</ShiftStartTime>
  <Src>sample string 1</Src>
  <Town>sample string 18</Town>
  <TownID>1</TownID>
  <UpdatedBy>1</UpdatedBy>
  <WorkLocation>sample string 9</WorkLocation>
</CreateAJobModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
Status

ResultStatus

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 100,
  "Message": "sample string 1",
  "Data": {}
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Generics">
  <Data />
  <Message>sample string 1</Message>
  <Status>Success</Status>
</Result>