account profile api docs fx
This commit is contained in:
parent
da30a5b918
commit
3f41e3359f
|
|
@ -24,11 +24,11 @@ public function authorize()
|
|||
public function rules()
|
||||
{
|
||||
return [
|
||||
'name' => 'required',
|
||||
'surname' => 'required',
|
||||
'patronomic_name' => 'required',
|
||||
'date_of_birth' => 'required',
|
||||
'birth_place' => 'required',
|
||||
'name' => 'required|string',
|
||||
'surname' => 'required|string',
|
||||
'patronomic_name' => 'string|nullable',
|
||||
'date_of_birth' => 'required|date',
|
||||
'birth_place' => 'required|alpha',
|
||||
'citizenship_id' => 'required',
|
||||
'registration_address' => 'required'
|
||||
];
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@ public function authorize()
|
|||
public function rules()
|
||||
{
|
||||
return [
|
||||
'name' => 'required',
|
||||
'short_name' => 'required',
|
||||
'name' => 'required|string',
|
||||
'short_name' => 'required|string',
|
||||
'registration_number' => 'required',
|
||||
'registration_date' => 'required',
|
||||
'state_registration_agency' => 'required',
|
||||
|
|
|
|||
|
|
@ -259,13 +259,13 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/api/account/profile": {
|
||||
"/api/account/profile/#business": {
|
||||
"put": {
|
||||
"tags": [
|
||||
"Account"
|
||||
],
|
||||
"summary": " - Store account profile info",
|
||||
"operationId": "e809af65c12695106f3cbcf67011embgt",
|
||||
"summary": " - Store account profile info for business",
|
||||
"operationId": "p809af65c12695106f3cbcf67011embgt",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "X-Localization",
|
||||
|
|
@ -309,7 +309,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"date_of_birth": {
|
||||
"type": "string"
|
||||
"type": "date"
|
||||
},
|
||||
"birth_place": {
|
||||
"type": "string"
|
||||
|
|
@ -365,13 +365,13 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/api/account/profile-doc": {
|
||||
"/api/account/profile/#company": {
|
||||
"put": {
|
||||
"tags": [
|
||||
"Account"
|
||||
],
|
||||
"summary": " - Store account profile doc info ",
|
||||
"operationId": "e809af65c12695106f3cbcf67011embgt",
|
||||
"summary": " - Store account profile info for company",
|
||||
"operationId": "c809af65c12695106f3cbcf67011embgt",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "X-Localization",
|
||||
|
|
@ -402,65 +402,24 @@
|
|||
"application/json": {
|
||||
"schema": {
|
||||
"properties": {
|
||||
"account_type": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"short_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"registration_number": {
|
||||
"type": "string"
|
||||
},
|
||||
"registration_date": {
|
||||
"type": "string"
|
||||
},
|
||||
"state_registration_agency": {
|
||||
"type": "string"
|
||||
},
|
||||
"registration_place": {
|
||||
"type": "string"
|
||||
},
|
||||
"registration_address": {
|
||||
"type": "string"
|
||||
},
|
||||
"fond_capital":{
|
||||
"type" : "string"
|
||||
},
|
||||
"management_types":{
|
||||
"type" : "string"
|
||||
},
|
||||
"signers":{
|
||||
"type" : "string"
|
||||
},
|
||||
"share_holders":{
|
||||
"type" : "string"
|
||||
},
|
||||
"organizational_form":{
|
||||
"type" : "string"
|
||||
},
|
||||
"is_agent":{
|
||||
"type" : "string"
|
||||
}
|
||||
"name": {"type": "string"},
|
||||
"short_name": {"type": "string"},
|
||||
"registration_number": {"type": "string"},
|
||||
"registration_date": {"type": "string"},
|
||||
"state_registration_agency": {"type": "string"},
|
||||
"registration_place": {"type": "string"},
|
||||
"registration_address": {"type": "string"},
|
||||
|
||||
},
|
||||
"type": "object",
|
||||
"example": {
|
||||
"account_type": "business",
|
||||
"name": "Ashgabat Dokma Toplumy",
|
||||
"short_name": "ADT",
|
||||
"registration_number": "453678958490",
|
||||
"registration_date": "2022-01-24",
|
||||
"state_registration_agency": "Ashgabat Hakimligi",
|
||||
"registration_place": "Ashgabat",
|
||||
"registration_address": "Ashgabat",
|
||||
"fond_capital":"Birzha",
|
||||
"management_types": "",
|
||||
"signers": "",
|
||||
"share_holders": "",
|
||||
"organizational_form": "",
|
||||
"is_agent": "1"
|
||||
"name": "Tapylgysyz mahabat",
|
||||
"short_name":"TPS",
|
||||
"registration_number": "132321",
|
||||
"registration_date":"02.01.2015",
|
||||
"state_registration_agency": "Agcy bilmeyanem",
|
||||
"registration_place":"Shatauz",
|
||||
"registration_address": "Yubileyni Under Radar"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue