POST pxapi/MultiCompanyTimeCode?companyCode={companyCode}&userid={userid}&stdLanguage={stdLanguage}&dummy={dummy}&data={data}
Internal methods for Visma PX
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| timecode | No documentation available. |
FromBody Define this parameter in the request body. |
| companyCode | No documentation available. |
Define this parameter in the request URI. |
| userid | No documentation available. |
Define this parameter in the request URI. |
| stdLanguage | No documentation available. |
Define this parameter in the request URI. |
| dummy | No documentation available. |
Define this parameter in the request URI. |
| data | No documentation available. |
Define this parameter in the request URI. |
Request body formats
application/json, text/json
Sample:
{
"Timecode": "sample string 1",
"Name": "sample string 2",
"Status": 3,
"Namelanguages": [
{
"Language": "sample string 1",
"Languagename": "sample string 2",
"Name": "sample string 3",
"Code": "sample string 4",
"Tablename": "sample string 5"
},
{
"Language": "sample string 1",
"Languagename": "sample string 2",
"Name": "sample string 3",
"Code": "sample string 4",
"Tablename": "sample string 5"
},
{
"Language": "sample string 1",
"Languagename": "sample string 2",
"Name": "sample string 3",
"Code": "sample string 4",
"Tablename": "sample string 5"
}
],
"Mctimecodecrossrefs": [
{
"Fromcompanycode": "sample string 1",
"Fromtimecode": "sample string 2",
"Tocompanycode": "sample string 3",
"Totimecode": "sample string 4",
"Changedwhen": "2026-05-09T17:13:04.8405445+02:00",
"Tocompanycodename": "sample string 5",
"Changedby": "sample string 6",
"Emailid": "sample string 7",
"Dirty": true,
"Timecodecomborows": [
{
"Companycode": "sample string 1",
"Timecode": "sample string 2",
"Name": "sample string 3"
},
{
"Companycode": "sample string 1",
"Timecode": "sample string 2",
"Name": "sample string 3"
},
{
"Companycode": "sample string 1",
"Timecode": "sample string 2",
"Name": "sample string 3"
}
]
},
{
"Fromcompanycode": "sample string 1",
"Fromtimecode": "sample string 2",
"Tocompanycode": "sample string 3",
"Totimecode": "sample string 4",
"Changedwhen": "2026-05-09T17:13:04.8405445+02:00",
"Tocompanycodename": "sample string 5",
"Changedby": "sample string 6",
"Emailid": "sample string 7",
"Dirty": true,
"Timecodecomborows": [
{
"Companycode": "sample string 1",
"Timecode": "sample string 2",
"Name": "sample string 3"
},
{
"Companycode": "sample string 1",
"Timecode": "sample string 2",
"Name": "sample string 3"
},
{
"Companycode": "sample string 1",
"Timecode": "sample string 2",
"Name": "sample string 3"
}
]
},
{
"Fromcompanycode": "sample string 1",
"Fromtimecode": "sample string 2",
"Tocompanycode": "sample string 3",
"Totimecode": "sample string 4",
"Changedwhen": "2026-05-09T17:13:04.8405445+02:00",
"Tocompanycodename": "sample string 5",
"Changedby": "sample string 6",
"Emailid": "sample string 7",
"Dirty": true,
"Timecodecomborows": [
{
"Companycode": "sample string 1",
"Timecode": "sample string 2",
"Name": "sample string 3"
},
{
"Companycode": "sample string 1",
"Timecode": "sample string 2",
"Name": "sample string 3"
},
{
"Companycode": "sample string 1",
"Timecode": "sample string 2",
"Name": "sample string 3"
}
]
}
],
"Dirty": true
}
application/xml, text/xml
Sample:
<McTimeCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Visma.PXWebApi.Domain.Entities.MultiCompany">
<Dirty>true</Dirty>
<Mctimecodecrossrefs>
<McTimeCodeCrossref>
<Changedby>sample string 6</Changedby>
<Changedwhen>2026-05-09T17:13:04.8405445+02:00</Changedwhen>
<Dirty>true</Dirty>
<Emailid>sample string 7</Emailid>
<Fromcompanycode>sample string 1</Fromcompanycode>
<Fromtimecode>sample string 2</Fromtimecode>
<Timecodecomborows>
<McTimeCodeComboRow>
<Companycode>sample string 1</Companycode>
<Name>sample string 3</Name>
<Timecode>sample string 2</Timecode>
</McTimeCodeComboRow>
<McTimeCodeComboRow>
<Companycode>sample string 1</Companycode>
<Name>sample string 3</Name>
<Timecode>sample string 2</Timecode>
</McTimeCodeComboRow>
<McTimeCodeComboRow>
<Companycode>sample string 1</Companycode>
<Name>sample string 3</Name>
<Timecode>sample string 2</Timecode>
</McTimeCodeComboRow>
</Timecodecomborows>
<Tocompanycode>sample string 3</Tocompanycode>
<Tocompanycodename>sample string 5</Tocompanycodename>
<Totimecode>sample string 4</Totimecode>
</McTimeCodeCrossref>
<McTimeCodeCrossref>
<Changedby>sample string 6</Changedby>
<Changedwhen>2026-05-09T17:13:04.8405445+02:00</Changedwhen>
<Dirty>true</Dirty>
<Emailid>sample string 7</Emailid>
<Fromcompanycode>sample string 1</Fromcompanycode>
<Fromtimecode>sample string 2</Fromtimecode>
<Timecodecomborows>
<McTimeCodeComboRow>
<Companycode>sample string 1</Companycode>
<Name>sample string 3</Name>
<Timecode>sample string 2</Timecode>
</McTimeCodeComboRow>
<McTimeCodeComboRow>
<Companycode>sample string 1</Companycode>
<Name>sample string 3</Name>
<Timecode>sample string 2</Timecode>
</McTimeCodeComboRow>
<McTimeCodeComboRow>
<Companycode>sample string 1</Companycode>
<Name>sample string 3</Name>
<Timecode>sample string 2</Timecode>
</McTimeCodeComboRow>
</Timecodecomborows>
<Tocompanycode>sample string 3</Tocompanycode>
<Tocompanycodename>sample string 5</Tocompanycodename>
<Totimecode>sample string 4</Totimecode>
</McTimeCodeCrossref>
<McTimeCodeCrossref>
<Changedby>sample string 6</Changedby>
<Changedwhen>2026-05-09T17:13:04.8405445+02:00</Changedwhen>
<Dirty>true</Dirty>
<Emailid>sample string 7</Emailid>
<Fromcompanycode>sample string 1</Fromcompanycode>
<Fromtimecode>sample string 2</Fromtimecode>
<Timecodecomborows>
<McTimeCodeComboRow>
<Companycode>sample string 1</Companycode>
<Name>sample string 3</Name>
<Timecode>sample string 2</Timecode>
</McTimeCodeComboRow>
<McTimeCodeComboRow>
<Companycode>sample string 1</Companycode>
<Name>sample string 3</Name>
<Timecode>sample string 2</Timecode>
</McTimeCodeComboRow>
<McTimeCodeComboRow>
<Companycode>sample string 1</Companycode>
<Name>sample string 3</Name>
<Timecode>sample string 2</Timecode>
</McTimeCodeComboRow>
</Timecodecomborows>
<Tocompanycode>sample string 3</Tocompanycode>
<Tocompanycodename>sample string 5</Tocompanycodename>
<Totimecode>sample string 4</Totimecode>
</McTimeCodeCrossref>
</Mctimecodecrossrefs>
<Name>sample string 2</Name>
<Namelanguages>
<NameLanguage>
<Code>sample string 4</Code>
<Language>sample string 1</Language>
<Languagename>sample string 2</Languagename>
<Name>sample string 3</Name>
<Tablename>sample string 5</Tablename>
</NameLanguage>
<NameLanguage>
<Code>sample string 4</Code>
<Language>sample string 1</Language>
<Languagename>sample string 2</Languagename>
<Name>sample string 3</Name>
<Tablename>sample string 5</Tablename>
</NameLanguage>
<NameLanguage>
<Code>sample string 4</Code>
<Language>sample string 1</Language>
<Languagename>sample string 2</Languagename>
<Name>sample string 3</Name>
<Tablename>sample string 5</Tablename>
</NameLanguage>
</Namelanguages>
<Status>3</Status>
<Timecode>sample string 1</Timecode>
</McTimeCode>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"Messagetype": 1,
"Datareference": "sample string 2",
"Messagetext": "sample string 3",
"Created": "sample string 4",
"Noofrowssub1": 1,
"Noofrowssub2": 1,
"Noofrowssub3": 1,
"Noofrowssub4": 1,
"Noofrowssub5": 1,
"Noofrowssub6": 1,
"AutoInvoiceData": {
"Status": 1,
"Documentid": 2,
"Errortext": "sample string 3",
"Xmlfilesuffix": "sample string 4",
"Filereference": "sample string 5",
"Document": "QEBA",
"Attachments": [
{
"Attachmenttype": 1,
"Documentid": 2,
"Attachmentid": 1,
"Filereference": "sample string 3",
"Filename": "sample string 4",
"DceInvoice": "QEBA"
},
{
"Attachmenttype": 1,
"Documentid": 2,
"Attachmentid": 1,
"Filereference": "sample string 3",
"Filename": "sample string 4",
"DceInvoice": "QEBA"
},
{
"Attachmenttype": 1,
"Documentid": 2,
"Attachmentid": 1,
"Filereference": "sample string 3",
"Filename": "sample string 4",
"DceInvoice": "QEBA"
}
]
}
}
application/xml, text/xml
Sample:
<Message xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Visma.PXWebApi.Domain.Entities.Misc">
<AutoInvoiceData>
<Attachments>
<AutoInvoiceAttachment>
<Attachmentid>1</Attachmentid>
<Attachmenttype>1</Attachmenttype>
<DceInvoice>QEBA</DceInvoice>
<Documentid>2</Documentid>
<Filename>sample string 4</Filename>
<Filereference>sample string 3</Filereference>
</AutoInvoiceAttachment>
<AutoInvoiceAttachment>
<Attachmentid>1</Attachmentid>
<Attachmenttype>1</Attachmenttype>
<DceInvoice>QEBA</DceInvoice>
<Documentid>2</Documentid>
<Filename>sample string 4</Filename>
<Filereference>sample string 3</Filereference>
</AutoInvoiceAttachment>
<AutoInvoiceAttachment>
<Attachmentid>1</Attachmentid>
<Attachmenttype>1</Attachmenttype>
<DceInvoice>QEBA</DceInvoice>
<Documentid>2</Documentid>
<Filename>sample string 4</Filename>
<Filereference>sample string 3</Filereference>
</AutoInvoiceAttachment>
</Attachments>
<Document>QEBA</Document>
<Documentid>2</Documentid>
<Errortext>sample string 3</Errortext>
<Filereference>sample string 5</Filereference>
<Status>1</Status>
<Xmlfilesuffix>sample string 4</Xmlfilesuffix>
</AutoInvoiceData>
<Created>sample string 4</Created>
<Datareference>sample string 2</Datareference>
<Messagetext>sample string 3</Messagetext>
<Messagetype>1</Messagetype>
<Noofrowssub1>1</Noofrowssub1>
<Noofrowssub2>1</Noofrowssub2>
<Noofrowssub3>1</Noofrowssub3>
<Noofrowssub4>1</Noofrowssub4>
<Noofrowssub5>1</Noofrowssub5>
<Noofrowssub6>1</Noofrowssub6>
</Message>