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": "cf0acae1-9ef8-448b-b42e-560b58dd9e81",
  "ProviderProgramId": "df1171d7-8163-4653-adec-0a4326e4d1d1",
  "ProviderApplicationId": "5e527641-e4d3-4a48-8cea-9728182d1cb3",
  "WebProductId": "85105359-00d6-4996-aca0-4d4e682f3b94",
  "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>cf0acae1-9ef8-448b-b42e-560b58dd9e81</CartId>
  <ProviderApplicationId>5e527641-e4d3-4a48-8cea-9728182d1cb3</ProviderApplicationId>
  <ProviderProgramId>df1171d7-8163-4653-adec-0a4326e4d1d1</ProviderProgramId>
  <WebProductId>85105359-00d6-4996-aca0-4d4e682f3b94</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": "8c69badc-d60e-4653-819d-4a0487364be9",
  "Messages": [
    "sample string 1",
    "sample string 2"
  ],
  "InvoiceNumber": "sample string 2",
  "InvoiceDate": "2024-12-22T05:15:02.1326997+00: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-12-22T05:15:02.1326997+00:00</InvoiceDate>
  <InvoiceId>8c69badc-d60e-4653-819d-4a0487364be9</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>