ContactUpdateRequest and meta.xml fix
This commit is contained in:
parent
7ff3de2724
commit
7fea5d46cd
2 changed files with 5 additions and 11 deletions
|
|
@ -385,6 +385,11 @@
|
|||
<contactValue type="2" length="255" name="Значение контакта" shortname="Значение" searchable="true" sortable="true" visible="true"/>
|
||||
<id type="1" name="Идентификатор записи" shortname="ID" searchable="true" sortable="true"/>
|
||||
<actions>
|
||||
<put name="Добавление контакта компании">
|
||||
<companyId type="1" name="Идентификатор компании" shortname="Компания" link="company" linkCode="shortName" required="true"/>
|
||||
<contactType type="12" name="Наименование типа контакта" shortname="Тип контакта" link="contactType"/>
|
||||
<contactValue type="2" length="255" name="Значение контакта" shortname="Значение"/>
|
||||
</put>
|
||||
<put name="Изменение контакта компании">
|
||||
<id type="1" name="Идентификатор записи" shortname="ID" link="contact" linkCode="id" required="true"/>
|
||||
<contactType type="12" name="Наименование типа контакта" shortname="Тип контакта" link="contactType"/>
|
||||
|
|
|
|||
|
|
@ -5,9 +5,6 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
|||
public class ContactUpdateRequest {
|
||||
@JsonProperty
|
||||
public Long id;
|
||||
|
||||
@JsonProperty
|
||||
private Long companyId;
|
||||
@JsonProperty
|
||||
private String contactType;
|
||||
@JsonProperty
|
||||
|
|
@ -21,14 +18,6 @@ public class ContactUpdateRequest {
|
|||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getCompanyId() {
|
||||
return companyId;
|
||||
}
|
||||
|
||||
public void setCompanyId(Long companyId) {
|
||||
this.companyId = companyId;
|
||||
}
|
||||
|
||||
public String getContactType() {
|
||||
return contactType;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue