PUT Api/LeadSources/{id}
Edytuje obiekt LeadSource
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
identyfikator modyfikowanego obiektu |
integer |
Required |
Body Parameters
obiekt wraz ze wszystkimi wartoĊciami
LeadSourceDtoName | Description | Type | Additional information |
---|---|---|---|
LeadSourceId | integer |
Required |
|
OrganizationalUnitId | integer |
Required |
|
Name | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "leadSourceId": 1, "organizationalUnitId": 2, "name": "sample string 3" }
multipart/form-data
Sample:
{"leadSourceId":1,"organizationalUnitId":2,"name":"sample string 3"}
application/xml, text/xml
Sample:
<LeadSourceDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <LeadSourceId>1</LeadSourceId> <OrganizationalUnitId>2</OrganizationalUnitId> <Name>sample string 3</Name> </LeadSourceDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.