POST dz_api/CustomerSource/Save

保存一条来源记录

Request Information

URI Parameters

None.

Body Parameters

来源信息

SourceEditModel
NameDescriptionTypeAdditional information
SourceId

来源ID

integer

None.

SourceName

来源名称

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SourceId": 1,
  "SourceName": "sample string 2"
}

application/xml, text/xml

Sample:
<SourceEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.WebApi.Areas.Customer.Models">
  <SourceId>1</SourceId>
  <SourceName>sample string 2</SourceName>
</SourceEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

保存一条来源记录

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>