POST api/FeeNewProduct/WriteOff?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
新品进场费核销申请
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
DomainId |
域Id |
globally unique identifier |
None. |
AccountId |
账户Id |
globally unique identifier |
None. |
PersonId |
人员Id |
globally unique identifier |
None. |
Body Parameters
ProductEntryWriteOffDtoName | Description | Type | Additional information |
---|---|---|---|
ProductEntryID | globally unique identifier |
None. |
|
WriteOffAmount | decimal number |
None. |
|
PhotoUrls | Collection of string |
None. |
|
Remark | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProductEntryID": "f7fb2858-6180-47fa-89a3-2a1e2c35a317", "WriteOffAmount": 2.0, "PhotoUrls": [ "sample string 1", "sample string 2" ], "Remark": "sample string 3" }
application/xml, text/xml
Sample:
<ProductEntryWriteOffDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity.DTO.ApiDTO"> <PhotoUrls xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </PhotoUrls> <ProductEntryID>f7fb2858-6180-47fa-89a3-2a1e2c35a317</ProductEntryID> <Remark>sample string 3</Remark> <WriteOffAmount>2</WriteOffAmount> </ProductEntryWriteOffDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Code | ReturnCode |
None. |
|
Message | string |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 200, "Message": "sample string 1", "Data": true }
application/xml, text/xml
Sample:
<ResultModelOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data>true</Data> <Message>sample string 1</Message> </ResultModelOfboolean>