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": "8a626749-bdad-4360-a7cd-4ad987823cf0",
  "ProviderProgramId": "e7e97adf-cbcf-4d48-b0e4-7f33c91e2c5b",
  "ProviderApplicationId": "e0fb4385-e003-40ce-8b97-37e7746f431c",
  "WebProductId": "49c34fc2-e162-49b9-9ffa-f4fde496f616",
  "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>8a626749-bdad-4360-a7cd-4ad987823cf0</CartId>
  <ProviderApplicationId>e0fb4385-e003-40ce-8b97-37e7746f431c</ProviderApplicationId>
  <ProviderProgramId>e7e97adf-cbcf-4d48-b0e4-7f33c91e2c5b</ProviderProgramId>
  <WebProductId>49c34fc2-e162-49b9-9ffa-f4fde496f616</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": "b7985970-dd2c-47f5-b851-1a9bbf0facf6",
  "Messages": [
    "sample string 1",
    "sample string 2"
  ],
  "InvoiceNumber": "sample string 2",
  "InvoiceDate": "2024-11-21T10:17:27.9205685+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-11-21T10:17:27.9205685+00:00</InvoiceDate>
  <InvoiceId>b7985970-dd2c-47f5-b851-1a9bbf0facf6</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>