POST dz_api/ICManagement/SaveAssignTask

工商服务-派工

Request Information

URI Parameters

None.

Body Parameters

AssignTaskModel
NameDescriptionTypeAdditional information
ServiceCust

Collection of ServiceSimple

None.

CustAccount

客户经理ID

Collection of integer

None.

HasCustAccount

boolean

None.

InvoiceAccount

收票会计ID

Collection of integer

None.

HasInvoiceAccount

boolean

None.

AccAccounter

记账会计ID

Collection of integer

None.

HasAccAccounter

boolean

None.

TaxAccount

报税会计ID

Collection of integer

None.

HasTaxAccount

boolean

None.

ICCustAccount

客户经理ID(工商)

Collection of integer

None.

HasICCustAccount

boolean

None.

Executor

执行人(工商)

Collection of integer

None.

HasExecutor

boolean

None.

OverrideAll

true: 如果没有填写角色就清空角色,false:如果没有填写角色就保持不变

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceCust": [
    {
      "ServiceId": 1,
      "CustId": 2
    },
    {
      "ServiceId": 1,
      "CustId": 2
    }
  ],
  "CustAccount": [
    1,
    2
  ],
  "HasCustAccount": true,
  "InvoiceAccount": [
    1,
    2
  ],
  "HasInvoiceAccount": true,
  "AccAccounter": [
    1,
    2
  ],
  "HasAccAccounter": true,
  "TaxAccount": [
    1,
    2
  ],
  "HasTaxAccount": true,
  "ICCustAccount": [
    1,
    2
  ],
  "HasICCustAccount": true,
  "Executor": [
    1,
    2
  ],
  "HasExecutor": true,
  "OverrideAll": true
}

application/xml, text/xml

Sample:
<AssignTaskModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model.Aa">
  <AccAccounter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </AccAccounter>
  <CustAccount xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CustAccount>
  <Executor xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Executor>
  <ICCustAccount xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ICCustAccount>
  <InvoiceAccount xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </InvoiceAccount>
  <OverrideAll>true</OverrideAll>
  <ServiceCust xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonAa.Model.Common">
    <d2p1:ServiceSimple>
      <d2p1:CustId>2</d2p1:CustId>
      <d2p1:ServiceId>1</d2p1:ServiceId>
    </d2p1:ServiceSimple>
    <d2p1:ServiceSimple>
      <d2p1:CustId>2</d2p1:CustId>
      <d2p1:ServiceId>1</d2p1:ServiceId>
    </d2p1:ServiceSimple>
  </ServiceCust>
  <TaxAccount xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </TaxAccount>
</AssignTaskModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

工商服务-派工

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

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