POST osapuolitiedot/yritykset/create
!!!Vain sisäiseen käyttöön!!! Lisää yrityksen.
Request Information
URI Parameters
None.
Body Parameters
Yrityksen tallennettavat kentät Collection of TallennettavaKenttatietoName | Description | Type | Additional information |
---|---|---|---|
Metanimi | string | None. | |
PtypeId | integer | None. | |
Arvo | string | None. |
Request Formats
application/json, text/json
Sample:
[ { "Metanimi": "sample string 1", "PtypeId": 1, "Arvo": "sample string 2" }, { "Metanimi": "sample string 1", "PtypeId": 1, "Arvo": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfTallennettavaKenttatieto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Agenteq.Tampuuri.ApplicationServiceBus.Contract"> <TallennettavaKenttatieto> <Arvo>sample string 2</Arvo> <Metanimi>sample string 1</Metanimi> <PtypeId>1</PtypeId> </TallennettavaKenttatieto> <TallennettavaKenttatieto> <Arvo>sample string 2</Arvo> <Metanimi>sample string 1</Metanimi> <PtypeId>1</PtypeId> </TallennettavaKenttatieto> </ArrayOfTallennettavaKenttatieto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GenericPostResponse
Name | Description | Type | Additional information |
---|---|---|---|
Id | Uuden resurssin id. | integer | None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1 }
application/xml, text/xml
Sample:
<GenericPostResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Agenteq.Tampuuri.ApplicationServiceApi.Contract"> <Id>1</Id> </GenericPostResponse>