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": "afff4384-0cd9-4a43-a7ac-589d301e57d8",
  "ProviderProgramId": "9c1b348a-41e3-4038-99f4-24426fb252f6",
  "ProviderApplicationId": "4ac63921-5371-48a2-b3ac-9db85b25ad71",
  "WebProductId": "df827639-501f-4d94-b093-05cc94192a21",
  "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>afff4384-0cd9-4a43-a7ac-589d301e57d8</CartId>
  <ProviderApplicationId>4ac63921-5371-48a2-b3ac-9db85b25ad71</ProviderApplicationId>
  <ProviderProgramId>9c1b348a-41e3-4038-99f4-24426fb252f6</ProviderProgramId>
  <WebProductId>df827639-501f-4d94-b093-05cc94192a21</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": "4b29aa49-559b-468d-97fb-201c42ca1ef0",
  "Messages": [
    "sample string 1",
    "sample string 2"
  ],
  "InvoiceNumber": "sample string 2",
  "InvoiceDate": "2024-12-13T17:52:24.1173196+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-13T17:52:24.1173196+00:00</InvoiceDate>
  <InvoiceId>4b29aa49-559b-468d-97fb-201c42ca1ef0</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>