POST api/Erp/SaveCompanyAddressErp

ERP firmaya adres ekleme.

Request Information

URI Parameters

None.

Body Parameters

company_address_master_field
NameDescriptionTypeAdditional information
company_id

integer

None.

address_type_id

integer

None.

country_id

integer

None.

city_id

integer

None.

town_id

integer

None.

address_1

string

None.

address_2

string

None.

address_3

string

None.

phone_1

string

String length: inclusive between 10 and 11

phone_2

string

String length: inclusive between 10 and 11

fax_1

string

String length: inclusive between 10 and 11

fax_2

string

String length: inclusive between 10 and 11

mobile_phone

string

String length: inclusive between 10 and 11

is_default_address

boolean

None.

company_code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "company_id": 1,
  "address_type_id": 1,
  "country_id": 2,
  "city_id": 3,
  "town_id": 4,
  "address_1": "sample string 5",
  "address_2": "sample string 6",
  "address_3": "sample string 7",
  "phone_1": "sample string 8",
  "phone_2": "sample string 9",
  "fax_1": "sample string 10",
  "fax_2": "sample string 11",
  "mobile_phone": "sample string 12",
  "is_default_address": true,
  "company_code": "sample string 14"
}

application/xml, text/xml

Sample:
<company_address_master_field xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ENTITY.ERP">
  <address_1>sample string 5</address_1>
  <address_2>sample string 6</address_2>
  <address_3>sample string 7</address_3>
  <address_type_id>1</address_type_id>
  <city_id>3</city_id>
  <company_code>sample string 14</company_code>
  <company_id>1</company_id>
  <country_id>2</country_id>
  <fax_1>sample string 10</fax_1>
  <fax_2>sample string 11</fax_2>
  <is_default_address>true</is_default_address>
  <master_company_code>sample string 15</master_company_code>
  <mobile_phone>sample string 12</mobile_phone>
  <phone_1>sample string 8</phone_1>
  <phone_2>sample string 9</phone_2>
  <town_id>4</town_id>
</company_address_master_field>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

entity_result
NameDescriptionTypeAdditional information
status_code

string

None.

status

boolean

None.

title

string

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status_code": "sample string 1",
  "status": true,
  "title": "sample string 3",
  "message": "sample string 4",
  "data": {}
}

application/xml, text/xml

Sample:
<entity_result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ENTITY.RESULT_MODELS">
  <data />
  <message>sample string 4</message>
  <status>true</status>
  <status_code>sample string 1</status_code>
  <title>sample string 3</title>
</entity_result>