POST api/Group/EditGroup

编辑公司

Request Information

URI Parameters

None.

Body Parameters

crm_group
NameDescriptionTypeAdditional information
Id

integer

None.

group_name

集团名称

string

None.

IsEdit

boolean

None.

crmcustomerList

旗下公司

Collection of crmCustomerModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "group_name": "sample string 2",
  "IsEdit": true,
  "crmcustomerList": [
    {
      "Id": 1,
      "Customer": "sample string 2"
    },
    {
      "Id": 1,
      "Customer": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<crm_group xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model.FMS3MPOS">
  <Id>1</Id>
  <IsEdit>true</IsEdit>
  <crmcustomerList>
    <crmCustomerModel>
      <Customer>sample string 2</Customer>
      <Id>1</Id>
    </crmCustomerModel>
    <crmCustomerModel>
      <Customer>sample string 2</Customer>
      <Id>1</Id>
    </crmCustomerModel>
  </crmcustomerList>
  <group_name>sample string 2</group_name>
</crm_group>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'crm_group'.

Response Information

Resource Description

编辑公司

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.