POST api/Customer/{customerDID}/Note

Creates a new Customer Note

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerDID

The Customer's DID

string

Required

Body Parameters

CustomerNoteViewModel
NameDescriptionTypeAdditional information
ID

Unique ID for the note record

integer

None.

CustomerDID

The Customer's DID

string

None.

CustomerNoteCategoryID

The Customer Note Category ID

integer

Required

CorrespondenceTypeID

The Correspondence Type ID

integer

Required

Subject

The Subject or Title of the Note

string

None.

Message

Full Description and Content of the Note

string

None.

OrderID

Order ID the note is associated with, if applicable.

integer

None.

Unresolved

Is the note unresolved

boolean

Required

IsCritical

Is the note critical

boolean

Required

DateCreated

date

None.

CreatedBy

string

None.

DateLastModified

date

None.

LastModifiedBy

string

None.

Request Formats

application/xml, text/xml

Sample:
<CustomerNoteViewModel>
  <ID>1</ID>
  <CustomerDID>sample string 1</CustomerDID>
  <CustomerNoteCategoryID>2</CustomerNoteCategoryID>
  <CorrespondenceTypeID>3</CorrespondenceTypeID>
  <Subject>sample string 4</Subject>
  <Message>sample string 5</Message>
  <OrderID>1</OrderID>
  <Unresolved>True</Unresolved>
  <IsCritical>True</IsCritical>
  <DateCreated>01/09/2025 01:41:14</DateCreated>
  <CreatedBy>sample string 9</CreatedBy>
  <DateLastModified>01/09/2025 01:41:14</DateLastModified>
  <LastModifiedBy>sample string 10</LastModifiedBy>
</CustomerNoteViewModel>

application/json, text/json

Sample:
{
  "ID": 1,
  "CustomerDID": "sample string 1",
  "CustomerNoteCategoryID": 2,
  "CorrespondenceTypeID": 3,
  "Subject": "sample string 4",
  "Message": "sample string 5",
  "OrderID": 1,
  "Unresolved": true,
  "IsCritical": true,
  "DateCreated": "2025-01-09T01:41:14.3322987-05:00",
  "CreatedBy": "sample string 9",
  "DateLastModified": "2025-01-09T01:41:14.3322987-05:00",
  "LastModifiedBy": "sample string 10"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedFormatter' to write type 'CustomerNoteViewModel'.

Response Information

Resource Description

CustomerNoteViewModel
NameDescriptionTypeAdditional information
ID

Unique ID for the note record

integer

None.

CustomerDID

The Customer's DID

string

None.

CustomerNoteCategoryID

The Customer Note Category ID

integer

Required

CorrespondenceTypeID

The Correspondence Type ID

integer

Required

Subject

The Subject or Title of the Note

string

None.

Message

Full Description and Content of the Note

string

None.

OrderID

Order ID the note is associated with, if applicable.

integer

None.

Unresolved

Is the note unresolved

boolean

Required

IsCritical

Is the note critical

boolean

Required

DateCreated

date

None.

CreatedBy

string

None.

DateLastModified

date

None.

LastModifiedBy

string

None.

Response Formats

application/xml, text/xml

Sample:
<CustomerNoteViewModel>
  <ID>1</ID>
  <CustomerDID>sample string 1</CustomerDID>
  <CustomerNoteCategoryID>2</CustomerNoteCategoryID>
  <CorrespondenceTypeID>3</CorrespondenceTypeID>
  <Subject>sample string 4</Subject>
  <Message>sample string 5</Message>
  <OrderID>1</OrderID>
  <Unresolved>True</Unresolved>
  <IsCritical>True</IsCritical>
  <DateCreated>01/09/2025 01:41:14</DateCreated>
  <CreatedBy>sample string 9</CreatedBy>
  <DateLastModified>01/09/2025 01:41:14</DateLastModified>
  <LastModifiedBy>sample string 10</LastModifiedBy>
</CustomerNoteViewModel>

application/json, text/json

Sample:
{
  "ID": 1,
  "CustomerDID": "sample string 1",
  "CustomerNoteCategoryID": 2,
  "CorrespondenceTypeID": 3,
  "Subject": "sample string 4",
  "Message": "sample string 5",
  "OrderID": 1,
  "Unresolved": true,
  "IsCritical": true,
  "DateCreated": "2025-01-09T01:41:14.3423026-05:00",
  "CreatedBy": "sample string 9",
  "DateLastModified": "2025-01-09T01:41:14.3423026-05:00",
  "LastModifiedBy": "sample string 10"
}