POST api/WeatherCCE/InsertScheduledCasesCCE

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
ObjResponse
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "CaseID": 1.0,
  "UserName": "sample string 2",
  "IsSlotsEmpty": true,
  "DOMCCEScheduleresponse": {
    "ID": 1.0,
    "CCECaseDetailsID": 1.0,
    "NoOfCCE": 1,
    "LastUpdatedBy": "sample string 2",
    "IsActive": true
  },
  "DOMCCESlotDetailresponse": [
    {
      "ID": 1.0,
      "CCEScheduleID": 1.0,
      "SlotDate": "sample string 2",
      "SlotFromTime": "00:00:00.1234567",
      "SlotToTime": "00:00:00.1234567",
      "LekhpalName": "sample string 3",
      "ContactNumber": "sample string 4",
      "OfficeAddress": "sample string 5",
      "EmailID": "sample string 6",
      "LastUpdatedBy": "sample string 7",
      "IsActive": true,
      "SlotReferenceNumber": "sample string 8",
      "SlotCreationDateTime": 9,
      "StatusID": 1.0,
      "LocaleID": 10
    },
    {
      "ID": 1.0,
      "CCEScheduleID": 1.0,
      "SlotDate": "sample string 2",
      "SlotFromTime": "00:00:00.1234567",
      "SlotToTime": "00:00:00.1234567",
      "LekhpalName": "sample string 3",
      "ContactNumber": "sample string 4",
      "OfficeAddress": "sample string 5",
      "EmailID": "sample string 6",
      "LastUpdatedBy": "sample string 7",
      "IsActive": true,
      "SlotReferenceNumber": "sample string 8",
      "SlotCreationDateTime": 9,
      "StatusID": 1.0,
      "LocaleID": 10
    },
    {
      "ID": 1.0,
      "CCEScheduleID": 1.0,
      "SlotDate": "sample string 2",
      "SlotFromTime": "00:00:00.1234567",
      "SlotToTime": "00:00:00.1234567",
      "LekhpalName": "sample string 3",
      "ContactNumber": "sample string 4",
      "OfficeAddress": "sample string 5",
      "EmailID": "sample string 6",
      "LastUpdatedBy": "sample string 7",
      "IsActive": true,
      "SlotReferenceNumber": "sample string 8",
      "SlotCreationDateTime": 9,
      "StatusID": 1.0,
      "LocaleID": 10
    }
  ],
  "Error_Code": 4,
  "Error_Message": "sample string 5",
  "RequestID": "sample string 6"
}

text/html

Sample:
{"CaseID":1.0,"UserName":"sample string 2","IsSlotsEmpty":true,"DOMCCEScheduleresponse":{"ID":1.0,"CCECaseDetailsID":1.0,"NoOfCCE":1,"LastUpdatedBy":"sample string 2","IsActive":true},"DOMCCESlotDetailresponse":[{"ID":1.0,"CCEScheduleID":1.0,"SlotDate":"sample string 2","SlotFromTime":"00:00:00.1234567","SlotToTime":"00:00:00.1234567","LekhpalName":"sample string 3","ContactNumber":"sample string 4","OfficeAddress":"sample string 5","EmailID":"sample string 6","LastUpdatedBy":"sample string 7","IsActive":true,"SlotReferenceNumber":"sample string 8","SlotCreationDateTime":9,"StatusID":1.0,"LocaleID":10},{"ID":1.0,"CCEScheduleID":1.0,"SlotDate":"sample string 2","SlotFromTime":"00:00:00.1234567","SlotToTime":"00:00:00.1234567","LekhpalName":"sample string 3","ContactNumber":"sample string 4","OfficeAddress":"sample string 5","EmailID":"sample string 6","LastUpdatedBy":"sample string 7","IsActive":true,"SlotReferenceNumber":"sample string 8","SlotCreationDateTime":9,"StatusID":1.0,"LocaleID":10},{"ID":1.0,"CCEScheduleID":1.0,"SlotDate":"sample string 2","SlotFromTime":"00:00:00.1234567","SlotToTime":"00:00:00.1234567","LekhpalName":"sample string 3","ContactNumber":"sample string 4","OfficeAddress":"sample string 5","EmailID":"sample string 6","LastUpdatedBy":"sample string 7","IsActive":true,"SlotReferenceNumber":"sample string 8","SlotCreationDateTime":9,"StatusID":1.0,"LocaleID":10}],"Error_Code":4,"Error_Message":"sample string 5","RequestID":"sample string 6"}

application/xml, text/xml

Sample:
<DOMScheduleResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeatherInsuranceCCEWebAPIServices.Models">
  <CaseID>0</CaseID>
  <Error_Code>4</Error_Code>
  <Error_Message>sample string 5</Error_Message>
  <RequestID>sample string 6</RequestID>
  <CaseID>1</CaseID>
  <DOMCCEScheduleresponse>
    <CCECaseDetailsID>1</CCECaseDetailsID>
    <ID>1</ID>
    <IsActive>true</IsActive>
    <LastUpdatedBy>sample string 2</LastUpdatedBy>
    <NoOfCCE>1</NoOfCCE>
  </DOMCCEScheduleresponse>
  <DOMCCESlotDetailresponse>
    <DOMCCESlotDetail>
      <CCEScheduleID>1</CCEScheduleID>
      <ContactNumber>sample string 4</ContactNumber>
      <EmailID>sample string 6</EmailID>
      <ID>1</ID>
      <IsActive>true</IsActive>
      <LastUpdatedBy>sample string 7</LastUpdatedBy>
      <LekhpalName>sample string 3</LekhpalName>
      <LocaleID>10</LocaleID>
      <OfficeAddress>sample string 5</OfficeAddress>
      <SlotCreationDateTime>9</SlotCreationDateTime>
      <SlotDate>sample string 2</SlotDate>
      <SlotFromTime>PT0.1234567S</SlotFromTime>
      <SlotReferenceNumber>sample string 8</SlotReferenceNumber>
      <SlotToTime>PT0.1234567S</SlotToTime>
      <StatusID>1</StatusID>
    </DOMCCESlotDetail>
    <DOMCCESlotDetail>
      <CCEScheduleID>1</CCEScheduleID>
      <ContactNumber>sample string 4</ContactNumber>
      <EmailID>sample string 6</EmailID>
      <ID>1</ID>
      <IsActive>true</IsActive>
      <LastUpdatedBy>sample string 7</LastUpdatedBy>
      <LekhpalName>sample string 3</LekhpalName>
      <LocaleID>10</LocaleID>
      <OfficeAddress>sample string 5</OfficeAddress>
      <SlotCreationDateTime>9</SlotCreationDateTime>
      <SlotDate>sample string 2</SlotDate>
      <SlotFromTime>PT0.1234567S</SlotFromTime>
      <SlotReferenceNumber>sample string 8</SlotReferenceNumber>
      <SlotToTime>PT0.1234567S</SlotToTime>
      <StatusID>1</StatusID>
    </DOMCCESlotDetail>
    <DOMCCESlotDetail>
      <CCEScheduleID>1</CCEScheduleID>
      <ContactNumber>sample string 4</ContactNumber>
      <EmailID>sample string 6</EmailID>
      <ID>1</ID>
      <IsActive>true</IsActive>
      <LastUpdatedBy>sample string 7</LastUpdatedBy>
      <LekhpalName>sample string 3</LekhpalName>
      <LocaleID>10</LocaleID>
      <OfficeAddress>sample string 5</OfficeAddress>
      <SlotCreationDateTime>9</SlotCreationDateTime>
      <SlotDate>sample string 2</SlotDate>
      <SlotFromTime>PT0.1234567S</SlotFromTime>
      <SlotReferenceNumber>sample string 8</SlotReferenceNumber>
      <SlotToTime>PT0.1234567S</SlotToTime>
      <StatusID>1</StatusID>
    </DOMCCESlotDetail>
  </DOMCCESlotDetailresponse>
  <IsSlotsEmpty>true</IsSlotsEmpty>
  <UserName>sample string 2</UserName>
</DOMScheduleResponse>

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 'DOMScheduleResponse'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Error_Code": 1,
  "Error_Message": "sample string 2",
  "RequestID": "sample string 3",
  "CaseID": 4.0
}

text/html

Sample:
{"Error_Code":1,"Error_Message":"sample string 2","RequestID":"sample string 3","CaseID":4.0}

application/xml, text/xml

Sample:
<ErrorResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeatherInsuranceCCEWebAPIServices.Models">
  <CaseID>4</CaseID>
  <Error_Code>1</Error_Code>
  <Error_Message>sample string 2</Error_Message>
  <RequestID>sample string 3</RequestID>
</ErrorResponse>