POST api/Customer/DetailsChangeRequest

Use for Customer to request changes to their account details

Request Information

URI Parameters

None.

Body Parameters

The Change Request object to store

DetailChangeRequest
NameDescriptionTypeAdditional information
RequestId

integer

None.

CustomerId

string

None.

CustomerRep

string

None.

ChangeType

string

None.

ChangeDetails

string

None.

DateRequested

date

None.

AppGuid

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "RequestId": 1,
  "CustomerId": "sample string 2",
  "CustomerRep": "sample string 3",
  "ChangeType": "sample string 4",
  "ChangeDetails": "sample string 5",
  "DateRequested": "2024-03-05T11:52:49.2040954+00:00",
  "AppGuid": "fc9f5716-c36a-41f4-be3b-7369f409d3b3"
}

application/xml, text/xml

Sample:
<DetailChangeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Core.Models.Customer">
  <AppGuid>fc9f5716-c36a-41f4-be3b-7369f409d3b3</AppGuid>
  <ChangeDetails>sample string 5</ChangeDetails>
  <ChangeType>sample string 4</ChangeType>
  <CustomerId>sample string 2</CustomerId>
  <CustomerRep>sample string 3</CustomerRep>
  <DateRequested>2024-03-05T11:52:49.2040954+00:00</DateRequested>
  <RequestId>1</RequestId>
</DetailChangeRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns the Detail Change Request object

DetailChangeRequestViewModel
NameDescriptionTypeAdditional information
changeRequest

DetailChangeRequest

None.

apiResponse

APIResponseMessage

None.

Response Formats

application/json, text/json

Sample:
{
  "changeRequest": {
    "RequestId": 1,
    "CustomerId": "sample string 2",
    "CustomerRep": "sample string 3",
    "ChangeType": "sample string 4",
    "ChangeDetails": "sample string 5",
    "DateRequested": "2024-03-05T11:52:49.2040954+00:00",
    "AppGuid": "edb93765-ae26-4b18-8a08-890c726465e4"
  },
  "apiResponse": {
    "HttpStatusCode": "sample string 1",
    "ReasonPhrase": "sample string 2",
    "ExceptionMessage": "sample string 3",
    "GeneralMessage": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<DetailChangeRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Customer">
  <apiResponse xmlns:d2p1="http://schemas.datacontract.org/2004/07/API.Core.Models">
    <d2p1:ExceptionMessage>sample string 3</d2p1:ExceptionMessage>
    <d2p1:GeneralMessage>sample string 4</d2p1:GeneralMessage>
    <d2p1:HttpStatusCode>sample string 1</d2p1:HttpStatusCode>
    <d2p1:ReasonPhrase>sample string 2</d2p1:ReasonPhrase>
  </apiResponse>
  <changeRequest xmlns:d2p1="http://schemas.datacontract.org/2004/07/API.Core.Models.Customer">
    <d2p1:AppGuid>edb93765-ae26-4b18-8a08-890c726465e4</d2p1:AppGuid>
    <d2p1:ChangeDetails>sample string 5</d2p1:ChangeDetails>
    <d2p1:ChangeType>sample string 4</d2p1:ChangeType>
    <d2p1:CustomerId>sample string 2</d2p1:CustomerId>
    <d2p1:CustomerRep>sample string 3</d2p1:CustomerRep>
    <d2p1:DateRequested>2024-03-05T11:52:49.2040954+00:00</d2p1:DateRequested>
    <d2p1:RequestId>1</d2p1:RequestId>
  </changeRequest>
</DetailChangeRequestViewModel>