POST api/Customer/UpdateMandatoryField
Request Information
URI Parameters
None.
Body Parameters
CustomerMandatoryFieldModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| FieldName | string |
None. |
|
| FieldCode | string |
None. |
|
| IsMandatory | boolean |
None. |
|
| IsActive | boolean |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedBy | string |
None. |
|
| ModifiedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"FieldName": "sample string 2",
"FieldCode": "sample string 3",
"IsMandatory": true,
"IsActive": true,
"CreatedBy": "sample string 6",
"CreatedDate": "2026-11-11T14:33:44.0848407+05:30",
"ModifiedBy": "sample string 8",
"ModifiedDate": "2026-11-11T14:33:44.0848407+05:30"
}
application/xml, text/xml
Sample:
<CustomerMandatoryFieldModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MotoliteApi.Models"> <CreatedBy>sample string 6</CreatedBy> <CreatedDate>2026-11-11T14:33:44.0848407+05:30</CreatedDate> <FieldCode>sample string 3</FieldCode> <FieldName>sample string 2</FieldName> <Id>1</Id> <IsActive>true</IsActive> <IsMandatory>true</IsMandatory> <ModifiedBy>sample string 8</ModifiedBy> <ModifiedDate>2026-11-11T14:33:44.0848407+05:30</ModifiedDate> </CustomerMandatoryFieldModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.