| Requires any of the roles: | Client, Admin, Partner |
| PUT | /customers/{Id} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | long | Yes | |
| TenantsId | body | int | Yes | |
| UserAuthId | body | int? | No | |
| SegmentsId | body | long | Yes | |
| CompaniesId | body | long? | No | |
| CurrenciesId | body | int? | No | |
| Address | body | string | No | |
| Age | body | int? | No | |
| City | body | string | No | |
| ContactNumber | body | string | No | |
| body | string | No | ||
| EthnicGroup | body | string | No | |
| FirstName | body | string | No | |
| Gender | body | string | No | |
| HomeLanguage | body | string | No | |
| IdNumber | body | string | No | |
| LastName | body | string | No | |
| PostalCode | body | string | No | |
| Region | body | string | No | |
| Suburb | body | string | No | |
| UniqueIdentifier | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long | No | |
| TenantsId | form | int | No | |
| UserAuthId | form | int? | No | |
| SegmentsId | form | long | No | |
| CompaniesId | form | long? | No | |
| CurrenciesId | form | int? | No | |
| Address | form | string | No | |
| Age | form | int? | No | |
| City | form | string | No | |
| ContactNumber | form | string | No | |
| form | string | No | ||
| EthnicGroup | form | string | No | |
| FirstName | form | string | No | |
| Gender | form | string | No | |
| HomeLanguage | form | string | No | |
| IdNumber | form | string | No | |
| LastName | form | string | No | |
| PostalCode | form | string | No | |
| Region | form | string | No | |
| Suburb | form | string | No | |
| UniqueIdentifier | form | string | No | |
| ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /customers/{Id} HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
TenantsId: 0,
UserAuthId: 0,
SegmentsId: 0,
CompaniesId: 0,
CurrenciesId: 0,
Address: String,
Age: 0,
City: String,
ContactNumber: String,
Email: String,
EthnicGroup: String,
FirstName: String,
Gender: String,
HomeLanguage: String,
IdNumber: String,
LastName: String,
PostalCode: String,
Region: String,
Suburb: String,
UniqueIdentifier: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
TenantsId: 0,
UserAuthId: 0,
SegmentsId: 0,
CompaniesId: 0,
CurrenciesId: 0,
Address: String,
Age: 0,
City: String,
ContactNumber: String,
Email: String,
EthnicGroup: String,
FirstName: String,
Gender: String,
HomeLanguage: String,
IdNumber: String,
LastName: String,
PostalCode: String,
Region: String,
Suburb: String,
UniqueIdentifier: String,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}