PUT api/provider/program/submit?contactId={contactId}&accountId={accountId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactId

globally unique identifier

Required

accountId

globally unique identifier

Required

Body Parameters

FreeProviderProgramSubmitModel
NameDescriptionTypeAdditional information
CartId

globally unique identifier

None.

ProviderProgramId

globally unique identifier

None.

ProviderApplicationId

globally unique identifier

None.

WebProductId

globally unique identifier

None.

WebProductName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CartId": "51c07d24-fda9-4465-8b49-e6403f117afb",
  "ProviderProgramId": "e208211b-3fb6-4224-a533-309e323bf9d8",
  "ProviderApplicationId": "7556be98-9a1f-42f0-bdab-de4849f26d4c",
  "WebProductId": "3c9d53a4-c546-41ed-a4a4-cb78534ab69f",
  "WebProductName": "sample string 5"
}

application/xml, text/xml

Sample:
<FreeProviderProgramSubmitModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models">
  <CartId>51c07d24-fda9-4465-8b49-e6403f117afb</CartId>
  <ProviderApplicationId>7556be98-9a1f-42f0-bdab-de4849f26d4c</ProviderApplicationId>
  <ProviderProgramId>e208211b-3fb6-4224-a533-309e323bf9d8</ProviderProgramId>
  <WebProductId>3c9d53a4-c546-41ed-a4a4-cb78534ab69f</WebProductId>
  <WebProductName>sample string 5</WebProductName>
</FreeProviderProgramSubmitModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Receipt
NameDescriptionTypeAdditional information
InvoiceId

globally unique identifier

None.

Messages

Collection of string

None.

InvoiceNumber

string

None.

InvoiceDate

date

None.

TotalAmountPaid

decimal number

None.

PaymentAuthorizationNumber

string

None.

Response Formats

application/json, text/json

Sample:
{
  "InvoiceId": "7ca01ef8-03ff-446c-9542-1820f6f2ed12",
  "Messages": [
    "sample string 1",
    "sample string 2"
  ],
  "InvoiceNumber": "sample string 2",
  "InvoiceDate": "2024-11-26T09:50:04.5008103-05:00",
  "TotalAmountPaid": 4.0,
  "PaymentAuthorizationNumber": "sample string 5"
}

application/xml, text/xml

Sample:
<Receipt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models">
  <InvoiceDate>2024-11-26T09:50:04.5008103-05:00</InvoiceDate>
  <InvoiceId>7ca01ef8-03ff-446c-9542-1820f6f2ed12</InvoiceId>
  <InvoiceNumber>sample string 2</InvoiceNumber>
  <Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Messages>
  <PaymentAuthorizationNumber>sample string 5</PaymentAuthorizationNumber>
  <TotalAmountPaid>4</TotalAmountPaid>
</Receipt>