POST api/{programid}/Authorizations/CreateCase

Description : Calling CreateCrmCase

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

Program Id

string

Required

Body Parameters

CreateCaseParams
NameDescriptionTypeAdditional information
ProgramCode

string

None.

PPLId

string

None.

FormId

string

None.

Queue

string

None.

Title

string

None.

AdditionalInformation

AdditionalInformation

None.

Request Formats

application/json, text/json

Sample:
{
  "ProgramCode": "sample string 1",
  "PPLId": "sample string 2",
  "FormId": "sample string 3",
  "Queue": "sample string 4",
  "Title": "sample string 5",
  "AdditionalInformation": {
    "AttendantCareHours": 1.0,
    "PersonalCareHours": 1.0,
    "DailyRate": 1.0,
    "EffectiveDate": "2024-11-16T09:34:58.24158+00:00"
  }
}

application/xml, text/xml

Sample:
<CreateCaseParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.WebApi.Models.Authorization">
  <AdditionalInformation>
    <AttendantCareHours>1</AttendantCareHours>
    <DailyRate>1</DailyRate>
    <EffectiveDate>2024-11-16T09:34:58.24158+00:00</EffectiveDate>
    <PersonalCareHours>1</PersonalCareHours>
  </AdditionalInformation>
  <FormId>sample string 3</FormId>
  <PPLId>sample string 2</PPLId>
  <ProgramCode>sample string 1</ProgramCode>
  <Queue>sample string 4</Queue>
  <Title>sample string 5</Title>
</CreateCaseParams>

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

Response Information

Resource Description

AuthorizedServices
NameDescriptionTypeAdditional information
ServiceCode

string

None.

Description

string

None.

DescriptionOnCheck

string

None.

AuthBeginDate

date

None.

AuthEndDate

date

None.

ExternalData1

string

None.

ExternalData2

string

None.

ValuedOutcome

string

None.

Comment

string

None.

ExternalReferenceId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ServiceCode": "sample string 1",
  "Description": "sample string 2",
  "DescriptionOnCheck": "sample string 3",
  "AuthBeginDate": "2024-11-16T09:34:58.2571815+00:00",
  "AuthEndDate": "2024-11-16T09:34:58.2571815+00:00",
  "ExternalData1": "sample string 6",
  "ExternalData2": "sample string 7",
  "ValuedOutcome": "sample string 8",
  "Comment": "sample string 9",
  "ExternalReferenceId": "sample string 10"
}

application/xml, text/xml

Sample:
<AuthorizedServices xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.NavisionData.CommonClasses.Authorization">
  <AuthBeginDate>2024-11-16T09:34:58.2571815+00:00</AuthBeginDate>
  <AuthEndDate>2024-11-16T09:34:58.2571815+00:00</AuthEndDate>
  <Comment>sample string 9</Comment>
  <Description>sample string 2</Description>
  <DescriptionOnCheck>sample string 3</DescriptionOnCheck>
  <ExternalData1>sample string 6</ExternalData1>
  <ExternalData2>sample string 7</ExternalData2>
  <ExternalReferenceId>sample string 10</ExternalReferenceId>
  <ServiceCode>sample string 1</ServiceCode>
  <ValuedOutcome>sample string 8</ValuedOutcome>
</AuthorizedServices>