POST Api/CustomerImage/Add
Request Information
URI Parameters
None.
Body Parameters
CustomerImageDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| ImageName | string |
None. |
|
| ImageUrl | string |
None. |
|
| ImageType | integer |
None. |
|
| UploadTime | date |
None. |
|
| ImageSort | integer |
None. |
|
| IsDeleted | boolean |
None. |
|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
|
| Total | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "aeb74418-94ac-484a-b3f4-2309f07ddbf3",
"CustomerId": "ea98dec6-8754-4321-84ae-5b09b2f4f8d6",
"ImageName": "sample string 2",
"ImageUrl": "sample string 3",
"ImageType": 1,
"UploadTime": "2026-03-02T19:42:52.0498619+08:00",
"ImageSort": 1,
"IsDeleted": true,
"PageIndex": 4,
"PageSize": 5,
"Total": 6
}
application/xml, text/xml
Sample:
<CustomerImageDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZShOil.Model"> <_x003C_PageIndex_x003E_k__BackingField>4</_x003C_PageIndex_x003E_k__BackingField> <_x003C_PageSize_x003E_k__BackingField>5</_x003C_PageSize_x003E_k__BackingField> <_x003C_Total_x003E_k__BackingField>6</_x003C_Total_x003E_k__BackingField> <CustomerId>ea98dec6-8754-4321-84ae-5b09b2f4f8d6</CustomerId> <Id>aeb74418-94ac-484a-b3f4-2309f07ddbf3</Id> <ImageName>sample string 2</ImageName> <ImageSort>1</ImageSort> <ImageType>1</ImageType> <ImageUrl>sample string 3</ImageUrl> <IsDeleted>true</IsDeleted> <UploadTime>2026-03-02T19:42:52.0498619+08:00</UploadTime> </CustomerImageDto>
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.